about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorNeetshin <neetshin@neetsh.in>2017-12-20 02:46:25 +0000
committerYamagishi Kazutoshi <ykzts@desire.sh>2017-12-20 11:46:25 +0900
commitc11a52d88848422716c5d082a147c92616e9a87a (patch)
tree286765d698aafceb02d0c53fdb221663e979893a /app/javascript/styles
parente52293482e4bde2b307bf4669a3cb74eff5770e3 (diff)
Replace <code> to <kbd> in KeyboardShortcuts component (#6049)
* Add aria-autocomplete='list' in Textaria

ref: https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete

* Make detect empty string brefore assign upload description

* Change code elements in keyboard-shortcuts component to kbd
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/mastodon/components.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index db07c3dfa..be1df46fc 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -2104,7 +2104,7 @@
     padding: 0 10px 8px;
   }
 
-  code {
+  kbd {
     display: inline-block;
     padding: 3px 5px;
     background-color: lighten($ui-base-color, 8%);