jenkins-bot has submitted this change and it was merged.

Change subject: Hygiene: Increase specificity of selector in 
.flow-topic-summary and remove !important
......................................................................


Hygiene: Increase specificity of selector in .flow-topic-summary and remove 
!important

Bug: T76598
Change-Id: Ib29229d6e35ce8f35097ffc126b2229f97bef02a
---
M modules/styles/board/topic/summary.less
1 file changed, 4 insertions(+), 3 deletions(-)

Approvals:
  Matthias Mullie: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/styles/board/topic/summary.less 
b/modules/styles/board/topic/summary.less
index 11ee187..87ea676 100644
--- a/modules/styles/board/topic/summary.less
+++ b/modules/styles/board/topic/summary.less
@@ -7,11 +7,12 @@
        border-top: 1px dotted @colorGrayLight;
        margin-top: .33em;
 
-       > p {
+       // Needs increased specificity to override `div#content p`
+       div#content & > p {
                font-style: italic;
                &:last-of-type {
                        // Remove margin-bottom from last p in summary, to 
remove excess bottom whitespace
-                       margin-bottom: 0 !important; // @todo find a better way 
to override div#content p
+                       margin-bottom: 0;
                }
        }
-}
\ No newline at end of file
+}

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib29229d6e35ce8f35097ffc126b2229f97bef02a
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
Gerrit-Reviewer: SG <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to