mirror of
https://framagit.org/la-chariotte/la-chariotte.git
synced 2025-05-01 19:32:26 +02:00
horizontal scroll on tables for mobile screen
This commit is contained in:
parent
04628fccb3
commit
0f337fc629
3 changed files with 16 additions and 1 deletions
|
@ -10352,3 +10352,11 @@ a.navbar-item:hover {
|
||||||
border: #A52951 1px solid !important;
|
border: #A52951 1px solid !important;
|
||||||
color: #A52951 !important;
|
color: #A52951 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 1023px) {
|
||||||
|
table {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
6
la_chariotte/static/sass/base/_table.sass
Normal file
6
la_chariotte/static/sass/base/_table.sass
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
// Tables on mobile and tablets
|
||||||
|
@media screen and (max-width: $max-tablet)
|
||||||
|
table
|
||||||
|
display: block
|
||||||
|
overflow-x: auto
|
||||||
|
white-space: nowrap
|
|
@ -13,3 +13,4 @@
|
||||||
@import "./base/navbar"
|
@import "./base/navbar"
|
||||||
@import "./base/content"
|
@import "./base/content"
|
||||||
@import "./base/buttons"
|
@import "./base/buttons"
|
||||||
|
@import "./base/table"
|
Loading…
Reference in a new issue