]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-user-subscription/subscribe-button.component.scss
Move to stylelint
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-user-subscription / subscribe-button.component.scss
index b739c5ae29a9d07109f59628a7015d8fb2643980..897ee7799ff872066a8e5a07ddea46cd1a958c6f 100644 (file)
@@ -8,8 +8,8 @@
   float: right;
   padding: 0;
 
-  > .btn,
-  > .dropdown > .dropdown-toggle {
+  > .btn,
+  > .dropdown > .dropdown-toggle {
     font-size: 15px;
   }
 
   &.big {
     height: 35px;
 
-    & > button:first-child {
-      width: 175px;
+    > button:first-child {
+      width: max-content;
+      min-width: 175px;
     }
 
     button .extra-text {
       span:first-child {
         line-height: 80%;
       }
-    
+
       span:not(:first-child) {
         font-size: 75%;
       }
   }
 
   // Unlogged
-  > .dropdown > .dropdown-toggle span {
+  > .dropdown > .dropdown-toggle span {
     padding-right: 3px;
   }
 
   // Logged
-  > .btn {
+  > .btn {
     padding-right: 4px;
 
-    + .dropdown > button {
+    + .dropdown > button {
       padding-left: 2px;
 
       &::after {