Opened 10 years ago
Closed 10 years ago
#38684 closed enhancement (fixed)
Improve the tab character width in the Plugins and Themes editor
| Reported by: | afercia | Owned by: | afercia |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.8 |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | has-screenshots has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)


The proposed patch just sets the
tab-sizeto4and removes the outline declaration, since it's already set informs.cssfor all the textarea elements.