Open existing or create new module.
Resize (desktop) screen to about half width but so that position list is still to the right of the editor, not below.
Click the Position drop-down menu to view list of module positions
Readable module positions
Difficult-to-read module positions due to 100px right padding after module position name with a min-width set at 640px, which is too narrow and possibly not necessary.
Viewing on J4.0 Alpha 7-dev
The browser inspector says it's in a file called /media/vendor/choicesjs/css/choices.min.css.
I have found choices.css in the site folders and the code in question is on line 260:
@media (min-width: 640px) {
.choices__list--dropdown .choices__item--selectable {
padding-right: 100px;
}
Changing the padding to 10px makes the module names readable again but the "Press to select" text (data-select-text) now overlaps the module name:
I'm afraid that suggesting a code change to make the data-select-text wrap below the module name is beyond me, but is this text really necessary? What else would you do to select a position? You don't say "Press to select" on other menus (as far as I've noticed).
Title |
|
Title |
|
||||||
Status | New | ⇒ | Discussion |
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-03-28 08:27:37 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/23451
Status | Closed | ⇒ | Confirmed |
Closed_Date | 2019-03-28 08:27:37 | ⇒ | |
Closed_By | joomla-cms-bot | ⇒ |
Labels |
Added:
J4 Issue
|
There is a similar function in articles when choosing categories, but this displays correctly. I would suggest that the CSS code used for displaying the category options is copied over to the module position display.
However, my success rate with raising PRs is practically nil, so I would appreciate someone with experience doing this, please. Thank you.
This is just waiting on an update from the choices js script. The fix has been merged and hopefully it will be merged soon
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-04-11 20:03:22 |
Closed_By | ⇒ | Quy |
I think the same in this regard that we don't say "Press to select" on menus. @Scrabble96 I think I should go about solving the above thing and also excluding the "Press on select".