VolkerE has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/385295 )

Change subject: Use Vector body content `font-size` for interactive element
......................................................................

Use Vector body content `font-size` for interactive element

Making use of Vector's `.mw-body-content` `font-size` for interactive elements
in entrypoint in order to not have them oversized.

Change-Id: Id0999b795e64739967b67717cb803ef16f81d9c1
---
M extension.json
A modules/entrypoint/styles/ext.cx.contributions.vector.less
2 files changed, 8 insertions(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation 
refs/changes/95/385295/1

diff --git a/extension.json b/extension.json
index 17ffe5c..eb70bbf 100644
--- a/extension.json
+++ b/extension.json
@@ -172,6 +172,11 @@
                        "styles": [
                                "entrypoint/styles/ext.cx.contributions.less"
                        ],
+                       "skinStyles": {
+                               "vector": [
+                                       
"entrypoint/styles/ext.cx.contributions.vector.less"
+                               ]
+                       },
                        "dependencies": [
                                "oojs-ui-core",
                                "oojs-ui.styles.icons-content",
diff --git a/modules/entrypoint/styles/ext.cx.contributions.vector.less 
b/modules/entrypoint/styles/ext.cx.contributions.vector.less
new file mode 100644
index 0000000..7c5b704
--- /dev/null
+++ b/modules/entrypoint/styles/ext.cx.contributions.vector.less
@@ -0,0 +1,3 @@
+.cx-contributions {
+       font-size: 0.875em; // not inherited from `.mw-body-content`, as we 
insert at `body`
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id0999b795e64739967b67717cb803ef16f81d9c1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: VolkerE <[email protected]>

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

Reply via email to