Bug #5228
closed
Empty space before (drop-down) field display value
Added by Anonymous about 9 years ago.
Updated over 8 years ago.
Description
For example, go to Interfaces->LAN and look at IPv4 or IPv6 Configuration Type. The text of the selected value (e.g. Static IPv4) has some space in front of it. That space was not there in 2.2.*
When the drop-down arrow is clicked to show the drop-down list, the text of the list lines up against the left side of the column, like I expected. It does not line up with the text of the currently-selected item.
- Tracker changed from Bug to Todo
<select class=form-control> form-control has padding enabled
the class is not applied to it's <option>'s
so either we remove the padding from form-control (would advice against it, doesn't look that great).
or
we create a new entry in pfsense.css ".form-select-option" and add padding to it. then add it as a class in the <option> fields
or
?
i can create a PR for either solutions if you want, lemme know which solution you prefer
Thanks. If we really need to do this, I think your second scheme "create a new entry in pfsense.css ".form-select-option" is the best option.
A PR would be appreciated.
to clarify myself: google found a way to fix.....
i'm just idiot with some spare time ;)
- Tracker changed from Todo to Bug
- Status changed from Confirmed to Feedback
A combination of the suggested methods seems to produce the best display. Select padding has been reduced from 12 to 6, and the option padding set to inherit the same value.
- Status changed from Feedback to Resolved
- Affected Version set to 2.3
Also available in: Atom
PDF