diff options
Diffstat (limited to 'src/css/_partial/_post/_content.scss')
-rw-r--r-- | src/css/_partial/_post/_content.scss | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/src/css/_partial/_post/_content.scss b/src/css/_partial/_post/_content.scss index 0e50aed..5628664 100644 --- a/src/css/_partial/_post/_content.scss +++ b/src/css/_partial/_post/_content.scss @@ -44,23 +44,27 @@ max-width: 100%; } - > table { - max-width: 100%; - margin: 10px 0; - border-spacing: 0; - box-shadow: 2px 2px 3px rgba(0,0,0,.125); + .table-wrapper { + overflow-x: auto; - thead { - background: $deputy-color; - } + > table { + max-width: 100%; + margin: 10px 0; + border-spacing: 0; + box-shadow: 2px 2px 3px rgba(0,0,0,.125); - th, td { - padding: 5px 15px; - border: 1px double $content-table-border-color; - } + thead { + background: $deputy-color; + } + + th, td { + padding: 5px 15px; + border: 1px double $content-table-border-color; + } - tr:hover { - background-color: $deputy-color; + tr:hover { + background-color: $deputy-color; + } } } |