mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 03:26:42 +00:00
fix(userstyles/github-fixed-width-textarea): only apply to editable textareas
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
/* ==UserStyle==
|
/* ==UserStyle==
|
||||||
@name GitHub Fixed-Width Textarea
|
@name GitHub Fixed-Width Textarea
|
||||||
@description Enforce fixed-width font and font-size in GitHub textareas
|
@description Enforce fixed-width font and font-size in GitHub textareas
|
||||||
@version 1.0.1
|
@version 1.0.2
|
||||||
@license CC0-1.0
|
@license CC0-1.0
|
||||||
@author Jim Myhrberg (https://jimeh.me/)
|
@author Jim Myhrberg (https://jimeh.me/)
|
||||||
@namespace jimeh.me
|
@namespace jimeh.me
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
@var text ghfwt-font-size "Font Size" 14px
|
@var text ghfwt-font-size "Font Size" 14px
|
||||||
==/UserStyle== */
|
==/UserStyle== */
|
||||||
@-moz-document domain("github.com") {
|
@-moz-document domain("github.com") {
|
||||||
textarea {
|
textarea:not([aria-readonly="true"]) {
|
||||||
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
|
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
|
||||||
"Liberation Mono", monospace !important;
|
"Liberation Mono", monospace !important;
|
||||||
font-size: ghfwt-font-size !important;
|
font-size: ghfwt-font-size !important;
|
||||||
|
|||||||
Reference in New Issue
Block a user