Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Apply the fix to both expanded and not expanded, using convention

Rigel Kent1def3c526ec3
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss
index 0e486eab2e..7ea82b6f9f 100644
--- a/client/src/sass/application.scss
+++ b/client/src/sass/application.scss
@@ -279,18 +279,21 @@ table {
}
@media screen and (max-width: #{map-get($grid-breakpoints, lg)}) {
+ /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
.main-col {
- .margin-content {
- margin-left: $expanded-horizontal-margins/3;
- margin-right: $expanded-horizontal-margins/3;
- }
+ &, &.expanded {
+ .margin-content {
+ margin-left: $expanded-horizontal-margins/3;
+ margin-right: $expanded-horizontal-margins/3;
+ }
- .sub-menu {
- padding-left: 50px;
- padding-right: 50px;
+ .sub-menu {
+ padding-left: 50px;
+ padding-right: 50px;
- .title-page {
- font-size: 17px;
+ .title-page {
+ font-size: 17px;
+ }
}
}
}
@@ -314,7 +317,6 @@ table {
.sub-menu {
width: 100vw;
- overflow-x: auto;
padding-left: 15px;
padding-right: 15px;
margin-bottom: $sub-menu-margin-bottom-small-view;