]> cat aescling's git repositories - mastodon.git/commitdiff
Fix tabs bar on mobile
authorThibaut Girka <thib@sitedethib.com>
Tue, 7 May 2019 22:04:48 +0000 (00:04 +0200)
committerThibG <thib@sitedethib.com>
Tue, 7 May 2019 22:32:53 +0000 (00:32 +0200)
Fixes #1037

app/javascript/flavours/glitch/styles/components/index.scss

index f12f8b7faf49c671da7ecf9a197f01bc208639da..63211392e977aff8ec1e92f135959b98b5a888b1 100644 (file)
   font-size: 14px;
   font-weight: 500;
   border-bottom: 2px solid lighten($ui-base-color, 8%);
-  transition: all 200ms linear;
-  transition-property: background;
+  transition: all 50ms linear;
+  transition-property: border-bottom, background, color;
 
   .fa {
     font-weight: 400;
   &:active {
     @include multi-columns('screen and (min-width: 631px)') {
       background: lighten($ui-base-color, 14%);
-      transition: all 100ms linear;
-      transition-property: background;
     }
   }