Skip to content

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

Fixing disappearing hamburger menu for narrow screens (#3929)

aschaap97c116edf9b0
diff --git a/client/src/app/app.component.scss b/client/src/app/app.component.scss
index e8447719aa..42293e4121 100644
--- a/client/src/app/app.component.scss
+++ b/client/src/app/app.component.scss
@@ -43,6 +43,10 @@ $assets-path: '../assets';
background-color: pvar(--mainForegroundColor);
mask-image: url('#{$assets-path}/images/misc/menu.svg');
margin: 0 18px 0 20px;
+
+ @media screen and (max-width: $mobile-view) {
+ margin: 0 10px;
+ }
}
}
@@ -71,16 +75,11 @@ $assets-path: '../assets';
}
@media screen and (max-width: $mobile-view) {
- width: 70px;
.peertube-title {
display: none;
}
}
-
- @media screen and (max-width: 350px) {
- flex: auto;
- }
}
.header-right {
diff --git a/client/src/app/header/search-typeahead.component.scss b/client/src/app/header/search-typeahead.component.scss
index f8d68e9867..a60aa38d69 100644
--- a/client/src/app/header/search-typeahead.component.scss
+++ b/client/src/app/header/search-typeahead.component.scss
@@ -86,7 +86,7 @@ li.suggestion {
flex: 1;
input {
- width: unset;
+ width: 70px;
}
}