X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/feab756b9f1e6b47d9877cd746a827fb9c604fe5..refs/pull/2902/head:/resources/sass/_tables.scss diff --git a/resources/sass/_tables.scss b/resources/sass/_tables.scss index 277873608..c78e13446 100644 --- a/resources/sass/_tables.scss +++ b/resources/sass/_tables.scss @@ -2,7 +2,7 @@ table { min-width: 100px; max-width: 100%; thead { - background-color: #F8F8F8; + @include lightDark(background-color, #f8f8f8, #333); font-weight: 500; } td, th { @@ -11,6 +11,7 @@ table { border: 1px solid #DDD; overflow: auto; line-height: 1.2; + word-break: break-word; } td p, th p { margin: 0; @@ -28,12 +29,13 @@ table.table { padding: $-s $-s; vertical-align: middle; margin: 0; + overflow: visible; } th { font-weight: bold; } tr:hover { - background-color: #EEE; + @include lightDark(background-color, #eee, #333); } .text-right { text-align: end;