]> 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
Move to sass @use
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-settings / my-account-notification-preferences / my-account-notification-preferences.component.scss
index 7cd5c3b46c3389bc6a5a0edbe87956448edf09c4..f35d15f935fc30843112d98b6d1e3717683707a6 100644 (file)
@@ -1,5 +1,5 @@
-@import '_variables';
-@import '_mixins';
+@use '_variables';
+@use '_mixins';
 
 .custom-row {
   display: flex;
@@ -8,26 +8,20 @@
 
   &:first-child {
     font-size: 16px;
-
-    & > div {
-      font-weight: $font-semibold;
-    }
   }
 
-  > div {
-    width: 350px;
+  > div {
+    padding: 10px;
 
-    @media screen and (max-width: $small-view) {
-      width: auto;
+    &:first-child {
+      width: 350px;
+    }
 
+    @media screen and (max-width: #{breakpoint(sm)}) {
       &:first-child {
+        width: auto;
         flex-grow: 1;
       }
     }
   }
-
-  & > div {
-    padding: 10px
-  }
 }
-