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