Smuggli has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/172702

Change subject: Improved styling of FormattingHelp
......................................................................

Improved styling of FormattingHelp

Change-Id: I47cebc9865f3931b7bb2c8e0a693195716abe4bf
---
M FormattingHelp/FormattingHelp.class.php
M FormattingHelp/resources/BS.FormattingHelp/Window.js
M FormattingHelp/resources/bluespice.formattinghelp.css
3 files changed, 3 insertions(+), 18 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions 
refs/changes/02/172702/1

diff --git a/FormattingHelp/FormattingHelp.class.php 
b/FormattingHelp/FormattingHelp.class.php
index f03ca13..092fdf0 100644
--- a/FormattingHelp/FormattingHelp.class.php
+++ b/FormattingHelp/FormattingHelp.class.php
@@ -99,7 +99,7 @@
        public static function getFormattingHelp() {
                if ( BsCore::checkAccessAdmission( 'edit' ) === false ) return 
true;
 
-               $sOutput = "<table border='1'>
+               $sOutput = "<table id='bs-formattinghelp-table' 
class='wikitable'>
                        <thead>
                                <tr>
                                        <th></th>
diff --git a/FormattingHelp/resources/BS.FormattingHelp/Window.js 
b/FormattingHelp/resources/BS.FormattingHelp/Window.js
index daf3efa..fd7b9b6 100644
--- a/FormattingHelp/resources/BS.FormattingHelp/Window.js
+++ b/FormattingHelp/resources/BS.FormattingHelp/Window.js
@@ -4,6 +4,8 @@
        closeAction: 'hide',
        singleton: true,
        id: 'bs-formattinghelp-window',
+       height: 600,
+       width: 600,
 
        initComponent: function(){
                this.setTitle( 
mw.message('bs-formattinghelp-formatting').plain() );
diff --git a/FormattingHelp/resources/bluespice.formattinghelp.css 
b/FormattingHelp/resources/bluespice.formattinghelp.css
index 87bec39..8a0788f 100644
--- a/FormattingHelp/resources/bluespice.formattinghelp.css
+++ b/FormattingHelp/resources/bluespice.formattinghelp.css
@@ -11,24 +11,7 @@
  * @filesource
  */
 
-#bs-formattinghelp-content table {
-       font-family: 'Courier New', monospace;
-       border-collapse: collapse;
-}
-#bs-formattinghelp-content table tr:nth-child(odd) {
-       background-color: #FDFDFD;
-}
-
-#bs-formattinghelp-content table tr td {
-       padding: 10px 5px;
-}
-
 #bs-editbutton-formattinghelp {
        /*@embed*/
        background-image: url(images/button_formatinghelp.png);
-}
-
-#bs-formattinghelp-content th, #bs-formattinghelp-content td{
-       padding: 10px 5px;
-       text-align: left;
 }
\ No newline at end of file

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I47cebc9865f3931b7bb2c8e0a693195716abe4bf
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Smuggli <[email protected]>

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

Reply via email to