]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.scss
Fix margins/widths with top-menu and main-col on small screens
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-settings / my-account-notification-preferences / my-account-notification-preferences.component.scss
index 6feb16ab1521ee2e6b4f27198495eae9caaa798c..0b292850e26c131a50f4de832552ee84506ca9ce 100644 (file)
@@ -4,7 +4,7 @@
 .custom-row {
   display: flex;
   align-items: center;
-  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
+  border-bottom: 1px solid $separator-border-color;
 
   &:first-child {
     font-size: 16px;
   }
 
   & > div {
+    padding: 10px;
     width: 350px;
-  }
 
-  & > div {
-    padding: 10px
+    &:nth-child(2) {
+      max-width: 60px !important;
+    }
+
+    @media screen and (max-width: $small-view) {
+      width: auto;
+
+      &:first-child {
+        flex-grow: 1;
+      }
+    }
   }
 }
-