Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-04-04 18:02:45

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

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

#2 2018-04-04 18:57:09

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

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,304

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,304

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

#5 2018-04-05 09:14:05

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

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,304

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,304

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

#8 2018-04-08 19:49:52

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

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 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.

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,304

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

#10 2018-04-09 09:51:53

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,596
Website

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

Board footer

Powered by FluxBB