Force buttons to align with the top of the flex
authorAlexander Ebert <ebert@woltlab.com>
Wed, 30 Sep 2020 20:58:05 +0000 (22:58 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 30 Sep 2020 20:58:05 +0000 (22:58 +0200)
This change causes buttons of different height to be placed at the top-most spot without extending downwards. One good example are the Filebase's language changer and the purchase button.

wcfsetup/install/files/style/layout/content.scss

index 604d2079054c7980e318174ad4cd8fc073a77f02..0cf39bb062f5a928b75b37ee5ae70838ba37d7ce 100644 (file)
@@ -67,6 +67,7 @@
                .contentHeaderNavigation > ul {
                        @include inlineList;
                        
+                       align-items: flex-start;
                        justify-content: flex-end;
                        margin-top: 20px;
                }