Nikerabbit has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/312037

Change subject: Editor: only show shortcut info on large screens
......................................................................

Editor: only show shortcut info on large screens

Mobile devices are unlikely to have physical keyboards to use shortcuts.

Bug: T146134
Change-Id: I71adcf69e0512b254efb5b09ddc154d4d6fe3487
---
M resources/css/ext.translate.editor.css
1 file changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate 
refs/changes/37/312037/1

diff --git a/resources/css/ext.translate.editor.css 
b/resources/css/ext.translate.editor.css
index 03c0309..d46f344 100644
--- a/resources/css/ext.translate.editor.css
+++ b/resources/css/ext.translate.editor.css
@@ -113,6 +113,13 @@
        font-size: 13px;
        color: #555;
        padding: 0 5px 5px 10px;
+       display: none;
+}
+
+@media screen and (min-width: 980px) {
+       .tux-message-editor .shortcutinfo {
+               display: block;
+       }
 }
 
 .tux-message-editor .infocolumn-block .infocolumn {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I71adcf69e0512b254efb5b09ddc154d4d6fe3487
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <niklas.laxst...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to