horizontal scroll on tables for mobile screen

This commit is contained in:
Laetitia Getti 2023-05-15 15:48:51 +02:00
parent 04628fccb3
commit 0f337fc629
3 changed files with 16 additions and 1 deletions

View file

@ -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;
}
}

View 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

View file

@ -12,4 +12,5 @@
@import "./base/global"
@import "./base/navbar"
@import "./base/content"
@import "./base/buttons"
@import "./base/buttons"
@import "./base/table"