mirror of
https://framagit.org/la-chariotte/la-chariotte.git
synced 2025-05-01 11:22:24 +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;
|
||||
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
|
|
@ -12,4 +12,5 @@
|
|||
@import "./base/global"
|
||||
@import "./base/navbar"
|
||||
@import "./base/content"
|
||||
@import "./base/buttons"
|
||||
@import "./base/buttons"
|
||||
@import "./base/table"
|
Loading…
Reference in a new issue