Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Commit

Permalink
Let users know they can ask for extensions to be enabled
Browse files Browse the repository at this point in the history
Part of #316
  • Loading branch information
edg2s authored and MatmaRex committed Oct 9, 2021
1 parent 7600242 commit 4f90a73
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,16 @@ summary {
display: list-item !important;
}

summary > .oo-ui-labelElement-label {
summary > .oo-ui-labelElement-label:not( .oo-ui-inline-help ) {
/* stylelint-disable-next-line declaration-no-important */
display: inline !important;
}

/* T292631 */
.oo-ui-fieldLayout.oo-ui-fieldLayout-align-left > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header {
hyphens: none;
}

.form-preset .oo-ui-fieldLayout,
.form-preset .oo-ui-radioOptionWidget {
display: inline-block;
Expand Down
2 changes: 1 addition & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<head>
<meta charset="utf-8">
<title>Patch demo</title>
<link rel="stylesheet" href="' . $basePath . '/css/common.css">
<link rel="stylesheet" href="' . $basePath . '/node_modules/oojs-ui/dist/oojs-ui-wikimediaui.min.css">
<link rel="stylesheet" href="' . $basePath . '/css/common.css">
<script src="' . $basePath . '/node_modules/jquery/dist/jquery.min.js"></script>
<script src="' . $basePath . '/node_modules/oojs/dist/oojs.jquery.min.js"></script>
<script src="' . $basePath . '/node_modules/oojs-ui/dist/oojs-ui.min.js"></script>
Expand Down
1 change: 1 addition & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
] ),
[
'label' => 'Choose included repos:',
'help' => new OOUI\HtmlSnippet( 'If your extension is not listed, please create a <a href="https://github.com/MatmaRex/patchdemo/issues/new">new issue</a>.' ),
'helpInline' => true,
'align' => 'left',
'classes' => [ 'form-repos-field' ],
Expand Down

0 comments on commit 4f90a73

Please sign in to comment.