mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +00:00
Merge "Table of contents style tweaks"
This commit is contained in:
commit
1c624210f4
|
@ -82,7 +82,7 @@ class CommentFormatter {
|
||||||
|
|
||||||
$summary = Html::element( 'span', [
|
$summary = Html::element( 'span', [
|
||||||
'class' => 'ext-discussiontools-init-sidebar-meta'
|
'class' => 'ext-discussiontools-init-sidebar-meta'
|
||||||
], wfMessage( 'parentheses', $commentCount )->inLanguage( $lang )->text() );
|
], $commentCount );
|
||||||
|
|
||||||
// This also shows up in API action=parse&prop=sections output.
|
// This also shows up in API action=parse&prop=sections output.
|
||||||
$item['html-summary'] = $summary;
|
$item['html-summary'] = $summary;
|
||||||
|
|
|
@ -325,19 +325,13 @@ h1, h2, h3, h4, h5, h6 {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
// stylelint-disable-next-line selector-class-pattern
|
|
||||||
.sidebar-toc .sidebar-toc-text {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
|
|
||||||
// stylelint-disable-next-line selector-class-pattern
|
// stylelint-disable-next-line selector-class-pattern
|
||||||
.sidebar-toc .sidebar-toc-list-item {
|
.sidebar-toc .sidebar-toc-list-item {
|
||||||
padding-top: 4px;
|
margin: 8px 0;
|
||||||
padding-bottom: 4px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ext-discussiontools-init-sidebar-meta {
|
.ext-discussiontools-init-sidebar-meta {
|
||||||
display: inline;
|
display: block;
|
||||||
color: #666;
|
color: #666;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
font-size: 0.875em;
|
font-size: 0.875em;
|
||||||
|
|
Loading…
Reference in a new issue