Skip to content

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

Fix my account settings responsive

Chocobozzz2c3abc4fa796
diff --git a/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.scss b/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.scss
index 0274f47c52..7cd5c3b46c 100644
--- a/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.scss
+++ b/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.scss
@@ -16,6 +16,14 @@
& > div {
width: 350px;
+
+ @media screen and (max-width: $small-view) {
+ width: auto;
+
+ &:first-child {
+ flex-grow: 1;
+ }
+ }
}
& > div {
diff --git a/client/src/app/+my-account/shared/actor-avatar-info.component.scss b/client/src/app/+my-account/shared/actor-avatar-info.component.scss
index 0b0c83de55..86f8108b96 100644
--- a/client/src/app/+my-account/shared/actor-avatar-info.component.scss
+++ b/client/src/app/+my-account/shared/actor-avatar-info.component.scss
@@ -18,6 +18,10 @@
.actor-info-display-name {
font-size: 20px;
font-weight: $font-bold;
+
+ @media screen and (max-width: $small-view) {
+ font-size: 16px;
+ }
}
.actor-info-username {
@@ -48,4 +52,4 @@
position: relative;
top: -10px;
-}
\ No newline at end of file
+}
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss
index 28b466c01c..d847662408 100644
--- a/client/src/sass/application.scss
+++ b/client/src/sass/application.scss
@@ -147,7 +147,7 @@ label {
}
@media screen and (max-width: 500px) {
- margin-right: 20px;
+ margin-right: 15px;
}
}
@@ -382,6 +382,8 @@ table {
}
.sub-menu {
+ width: 100vw;
+ overflow-x: auto;
padding-left: 15px;
padding-right: 15px;
margin-bottom: 10px;
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index 9c3f28b287..262a8136f6 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -235,6 +235,10 @@
position: relative;
font-size: 15px;
+ @media screen and (max-width: $width) {
+ width: 100%;
+ }
+
&:after {
top: 50%;
right: calc(0% + 15px);