Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2018-04-04 18:02:45
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Minimal CSS addition
Phil, may I encourage a minimal addition to the Admin CSS: With white-space: nowrap;
on .dropdown-menu a
longer menu items would simply widen the menu instead of being displayed as a duplicate line. Duplicate, wrapped, lines look confusing in most cases, i.e. if not taken together as one unit by the highlighting selected
color. I currently translate glz_cf and there is this unfortunate but well introduced Benutzerdefinierte Felder (custom fields). I’ve had other ones when customizing for clients, like Sektionsauswahl für stm_article_order that had to be abbreviated in order to not wrap, even for the English original.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Minimal CSS addition
Can you please open an issue for this on GitHub (on the main Textpattern repo) – otherwise it’ll get overlooked and forgotten. I will then provide a fix before 4.7 final release. Cheers!
Offline
#3 2018-04-04 19:15:23
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Minimal CSS addition
Done. TIA!
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#4 2018-04-04 21:41:09
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Minimal CSS addition
uli wrote #310617:
I currently translate glz_cf
Oh, that’s not really true. jakob translated it entirely and asked me to revise.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Minimal CSS addition
OK, latest dev branch has a fix for this – please test and let me know if it doesn’t work as intended.
Offline
#6 2018-04-05 10:09:03
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Minimal CSS addition
Thanks, Phil, will do when I’ve some time at a stretch.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#7 2018-04-08 12:54:06
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Minimal CSS addition
I’ve tried the new CSS now, and the menus are widened, as expected. Thanks!
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Minimal CSS addition
uli wrote #310617:
Phil, may I encourage a minimal addition to the Admin CSS: With
white-space: nowrap;
on.dropdown-menu a
longer menu items would simply widen the menu instead of being displayed as a duplicate line. Duplicate, wrapped, lines look confusing in most cases, i.e. if not taken together as one unit by the highlightingselected
color. I currently translate glz_cf and there is this unfortunate but well introduced Benutzerdefinierte Felder (custom fields). I’ve had other ones when customizing for clients, like Sektionsauswahl für stm_article_order that had to be abbreviated in order to not wrap, even for the English original.
p.
Benutzerdefinierte Felder could be called Definierbare Felder or Andere Felder or Extrafelder …
A hole turned upside down is a dome, when there’s also gravity.
Offline
#9 2018-04-08 21:38:53
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Minimal CSS addition
jayrope wrote #310788:
Definierbare Felder
I really like that one! It’s not only shorter, it’s even a tad more positive than the current one. It needed only 11 very simple changes in the German textpack. If there were’nt custom field based plugins. I’ll think about it.
But it’s great having the new non-wrapping CSS now: There are a lot more lengthy menu strings, and also more of these lengthy languages that might benefit from an auto-adaptable menu width.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Minimal CSS addition
uli wrote #310793:
I really like that one! It’s not only shorter, it’s even a tad more positive than the current one. It needed only 11 very simple changes in the German textpack. If there were’nt custom field based plugins. I’ll think about it.
I’m all for shortening that too. If you decide to do that in the core, Uli, send me an update to the glz textpack and I’ll update that too accordingly.
TXP Builders – finely-crafted code, design and txp
Offline
Pages: 1