VolkerE has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/351235 )

Change subject: Apex theme: Follow same FieldLayout `margin` logic as MediaWiki 
theme
......................................................................

Apex theme: Follow same FieldLayout `margin` logic as MediaWiki theme

Bug: T162798
Change-Id: I2ae39837c55cf23edd4f7ced15f6353f3d871004
---
M src/themes/apex/layouts.less
1 file changed, 7 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/35/351235/1

diff --git a/src/themes/apex/layouts.less b/src/themes/apex/layouts.less
index d3afde0..70c57e4 100644
--- a/src/themes/apex/layouts.less
+++ b/src/themes/apex/layouts.less
@@ -27,10 +27,10 @@
 }
 
 .theme-oo-ui-fieldLayout () {
-       margin-bottom: 1em;
+       margin-top: 1em;
 
-       &:last-child {
-               margin-bottom: 0;
+       &:first-child {
+               margin-top: 0;
        }
 
        &.oo-ui-fieldLayout-align-left,
@@ -60,7 +60,7 @@
        }
 
        &.oo-ui-fieldLayout-align-inline {
-               margin-bottom: 1.25em;
+               margin-top: 1.25em;
 
                & > .oo-ui-fieldLayout-body {
                        max-width: @max-width-default;
@@ -79,7 +79,7 @@
        }
 
        > .oo-ui-popupButtonWidget {
-               .oo-ui-inline-spacing(0);
+               .oo-ui-inline-spacing( 0 );
                margin-top: 0.25em;
        }
 
@@ -150,7 +150,7 @@
        }
 
        > .oo-ui-fieldsetLayout-header > .oo-ui-popupButtonWidget {
-               .oo-ui-inline-spacing(0);
+               .oo-ui-inline-spacing( 0 );
        }
 }
 
@@ -188,7 +188,7 @@
 .theme-oo-ui-horizontalLayout () {
        > .oo-ui-layout,
        > .oo-ui-widget {
-               .oo-ui-inline-spacing(0.5em);
+               .oo-ui-inline-spacing( 0.5em );
        }
 
        > .oo-ui-layout {

-- 
To view, visit https://gerrit.wikimedia.org/r/351235
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2ae39837c55cf23edd4f7ced15f6353f3d871004
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: VolkerE <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to