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

Change subject: Fix checkbox label alignment on Special:ElectronPdf
......................................................................

Fix checkbox label alignment on Special:ElectronPdf

Make sure the checkbox label and description are on seperate lines and aligned.

Bug: T167272
Change-Id: Ic3097b1eb2314c0c61893261f718a7de181f823f
---
M modules/ext.ElectronPdfService.special.css
M src/specials/SpecialElectronPdf.php
2 files changed, 3 insertions(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ElectronPdfService 
refs/changes/11/359011/1

diff --git a/modules/ext.ElectronPdfService.special.css 
b/modules/ext.ElectronPdfService.special.css
index df53033..f8d04e6 100644
--- a/modules/ext.ElectronPdfService.special.css
+++ b/modules/ext.ElectronPdfService.special.css
@@ -18,6 +18,8 @@
 
 .mw-electronPdfService-selection-label-text {
        font-size: 13px;
+       font-weight: bold;
+       padding-top: 9px;
 }
 
 .mw-electronPdfService-selection-label-desc {
diff --git a/src/specials/SpecialElectronPdf.php 
b/src/specials/SpecialElectronPdf.php
index 8241f97..9472c78 100644
--- a/src/specials/SpecialElectronPdf.php
+++ b/src/specials/SpecialElectronPdf.php
@@ -126,7 +126,7 @@
                                'value' => $action,
                                'selected' => $selected
                        ] ),
-                       ( new OOUI\Tag( 'b' ) )->addClasses( [ 
'mw-electronPdfService-selection-label-text' ] )
+                       ( new OOUI\Tag() )->addClasses( [ 
'mw-electronPdfService-selection-label-text' ] )
                                ->appendContent( $this->msg( 
'electronPdfService-' . $name . '-column-label' )->text() ),
                        ( new OOUI\Tag() )->addClasses( [ 
'mw-electronPdfService-selection-label-desc' ] )
                                ->appendContent( $this->msg( 
'electronPdfService-' . $name . '-column-desc' )->text() )

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic3097b1eb2314c0c61893261f718a7de181f823f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ElectronPdfService
Gerrit-Branch: master
Gerrit-Owner: Bmansurov <bmansu...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to