1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

content table fixes

This commit is contained in:
Matthias Kretschmann 2018-11-16 14:45:38 +01:00
parent b2f82bfbd0
commit a3fe47cb88
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 12 additions and 0 deletions

View File

@ -21,6 +21,12 @@
padding-bottom: $spacer / $line-height; padding-bottom: $spacer / $line-height;
border-bottom: 1px solid $brand-grey-lighter; border-bottom: 1px solid $brand-grey-lighter;
} }
table {
overflow-wrap: normal;
word-wrap: normal;
word-break: normal;
}
} }
.empty { .empty {

View File

@ -219,6 +219,11 @@ table {
width: 100%; width: 100%;
margin-bottom: $spacer * $line-height; margin-bottom: $spacer * $line-height;
border-collapse: collapse; border-collapse: collapse;
display: block;
// make 'em scrollable
overflow: auto;
-webkit-overflow-scrolling: touch;
th, th,
td { td {
@ -227,6 +232,7 @@ table {
padding: $spacer / 2; padding: $spacer / 2;
border-bottom: 1px solid $brand-grey-lighter; border-bottom: 1px solid $brand-grey-lighter;
text-align: left; text-align: left;
font-size: 90%;
&[align='center'] { &[align='center'] {
text-align: center; text-align: center;