HistoryAction: Amend `margin` in collapsed form state
authorVolker E <volker.e@wikimedia.org>
Thu, 11 Apr 2019 18:51:09 +0000 (11:51 -0700)
committerVolker E <volker.e@wikimedia.org>
Thu, 11 Apr 2019 18:51:09 +0000 (11:51 -0700)
Also update comment at top.

Bug: T220555
Change-Id: I20b0f42d36a6909625bc9f481d0e016ae8cd1d96

resources/src/mediawiki.action/mediawiki.action.history.styles.less

index 257f153..af91818 100644 (file)
@@ -1,4 +1,11 @@
-/* Basic styles for the history page */
+/**
+ * Basic styles for the edit revision history page 'HistoryAction.php'
+ */
+
+// Trigger only when collapsible & JS is available via `.mw-collapsed`.
+#mw-history-search.mw-collapsed .oo-ui-fieldsetLayout-header .oo-ui-labelElement-label {
+       margin-bottom: 0;
+}
 
 #pagehistory .history-user {
        margin-left: 0.4em;