Fixes #373: applies horizontal scrolling to tables when necessary
This commit is contained in:
+3
-11
@@ -386,6 +386,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin-bottom: -3rem;
|
margin-bottom: -3rem;
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
table {
|
table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -399,6 +400,7 @@
|
|||||||
th,
|
th,
|
||||||
td {
|
td {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -479,18 +481,8 @@ div:not(.cm-focused).cm-fat-cursor {
|
|||||||
outline: none !important;
|
outline: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media only screen and (max-width: 600px) {
|
@media only screen and (max-width: 600px) {
|
||||||
#sb-main .cm-editor {
|
|
||||||
.sb-table-widget {
|
|
||||||
overflow: auto;
|
|
||||||
|
|
||||||
th,
|
|
||||||
td {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#sb-editor {
|
#sb-editor {
|
||||||
|
|
||||||
.sb-directive-start-outside,
|
.sb-directive-start-outside,
|
||||||
|
|||||||
Reference in New Issue
Block a user