summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/css/mobile.scss5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files/css/mobile.scss b/apps/files/css/mobile.scss
index b661fc61d45..879e8a2bb31 100644
--- a/apps/files/css/mobile.scss
+++ b/apps/files/css/mobile.scss
@@ -1,7 +1,8 @@
/* 938 = table min-width(688) + app-navigation width: 250
- 769 = size where app-navigation (768) is hidden +1
+ $breakpoint-mobile +1 = size where app-navigation is hidden +1
688 = table min-width */
-@media only screen and (max-width: 938px) and (min-width: 769px), only screen and (max-width: 688px) {
+$min-table-width: 688px;
+@media only screen and (max-width: $min-table-width + $navigation-width) and (min-width: $breakpoint-mobile + 1), only screen and (max-width: $min-table-width) {
.app-files #app-content.dir-drop{
background-color: rgba(255, 255, 255, 1)!important;