fix: make tables scroll on horizontal overflow
This commit is contained in:
1 parent
fccf60b7cf
commit
e1a0575e0d
1 file changed
+2
-4
@@ -71,6 +71,8 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container table>thead>tr>th,
|
.container table>thead>tr>th,
|
||||||
@@ -80,10 +82,6 @@
|
|||||||
border-bottom: 1px solid #0b3766;
|
border-bottom: 1px solid #0b3766;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container table>tbody>tr>td:last-child {
|
|
||||||
word-break: break-word;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container table>thead>tr>th {
|
.container table>thead>tr>th {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user