Opened 8 years ago
Closed 8 years ago
#38684 closed enhancement (fixed)
Improve the tab character width in the Plugins and Themes editor
Reported by: | afercia | Owned by: | afercia |
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | has-screenshots has-patch commit |
Focuses: | Cc: |
Description
In #38667 the Customizer is going to introduce the CSS property tab-size
for the Custom CSS textarea. It allows to specify a value, for example an integer for the number of spaces, to represent the width of a tab character.
The Plugins and Themes editor could use this property as well, to enhance the visual presentation of the code indentation within the editor. At the moment Firefox needs the prefixed version and there's no support in IE or Edge.
Screenshot before:
and after setting tab-size: 4
:
Attachments (2)
Change History (6)
Note: See
TracTickets for help on using
tickets.
The proposed patch just sets the
tab-size
to4
and removes the outline declaration, since it's already set informs.css
for all the textarea elements.