Vote #80045
完了Visually distinguishable style for code tag
0%
説明
I propose to make the style for code tag more distinguishable.
Currently, the font-family property is the only property which is set for code tag. So, it is a bit difficult to distinguish text enclosed in code tag.
It will be easily distinguishable if we set background color for them. It is so common. You can see examples on many sites such as GitHub and https://bugs.ruby-lang.org/.
[Before]
!{width: 674px; border: 1px solid #ccc;}.code-style-before@2x.png!
[After]
!{width: 674px; border: 1px solid #ccc;}.code-style-after@2x.png!
journals
Setting the target version to 4.1.0.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Update the patch.
* Changed the color to @rgba(62, 91, 118, 0.08)@. The previous color @rgba(0, 102, 187, 0.05)@ looks like selected text in some operating system
* Fixed wrong selector
* Fixed that the style is not applied in long text custom fields
--------------------------------------------------------------------------------
Committed the patch.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,Closed,12036,Allow backtip for inline code with inline block style