]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
fix user preferences column width for notifications table (#3352)
authorKimsible <1877318+kimsible@users.noreply.github.com>
Tue, 24 Nov 2020 13:54:08 +0000 (14:54 +0100)
committerGitHub <noreply@github.com>
Tue, 24 Nov 2020 13:54:08 +0000 (14:54 +0100)
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.scss

index 75e52fa1b645a277e5ecdfc12116689c9d006cef..b06d8b16dc7ef53e212209a03a211ea9db53e695 100644 (file)
 
   & > div {
     padding: 10px;
-    width: 350px;
 
-    &:nth-child(2) {
-      max-width: 60px !important;
+    &:first-child {
+      width: 350px;
     }
 
-    @media screen and (max-width: $small-view) {
-      width: auto;
-
+    @media screen and (max-width: #{breakpoint(sm)}) {
       &:first-child {
+        width: auto;
         flex-grow: 1;
       }
     }