Skip to content

Commit b841840

Browse files
authored
Move the horizontal scrollbar from the table to the page body (#1023)
1 parent cc66071 commit b841840

File tree

1 file changed

+8
-5
lines changed
  • apps/_dashboard/static/css

1 file changed

+8
-5
lines changed

apps/_dashboard/static/css/no.css

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ body {
4646
grid-template-rows: auto 1fr auto;
4747
}
4848

49-
body > center, body > center > main {
50-
width: 100vw;
51-
}
52-
5349
/****************************************************
5450
elements style
5551
****************************************************/
@@ -587,8 +583,15 @@ nav { width: auto; }
587583
.dbadmin .grid-td { max-width: 300px !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
588584
.dbadmin .grid-td:last-child {text-align: right}
589585
.dbadmin .grid-table-wrapper { overflow-x: auto; }
590-
.dbadmin div:has(> flash-alerts) { height: 6px; }
591586
.dbadmin h2 { margin-top: 0px; font-size: 1.5em; }
592587
.dbadmin .grid-search-form-table { width: 70vw; }
593588
.dbadmin .grid-search-form-tr:hover { background-color: transparent; }
594589
.dbadmin td, .dbadmin th { padding: 1px 8px; }
590+
.dbadmin .grid-table-wrapper { overflow-x: visible; }
591+
592+
html:has(.dbadmin),
593+
body:has(.dbadmin) {
594+
overflow-x: visible;
595+
}
596+
597+
div:has(> flash-alerts) { height: 6px; }

0 commit comments

Comments
 (0)