Announcement

#1 2023-05-29 10:50:27

matthys
Member
2014-04-02
188

[resolved] [Admin] Tags window to small (again)

Hello,

I really would like to point out that sometimes problems reoccur, probably by upgrading and overriding the default admin theme.css file.

If I want to add tags within the admin page the window does not resize and makes a big mess.
This is not the first time as it is also address in this topic -> https://piwigo.org/forum/viewtopic.php?id=31871

https://i.postimg.cc/RNpHp2Pv/Piwigo-Admin-Tags.png

When you want to add additional tags, it's not easy which one you already used. And just you do not see all the tags anyway ....

The main problem is I have to fix manually, as the css for the admin is NOT editable by
LocalFile Editor.


To resume the fix:
edit -> admin/themes/default/theme.css
set the height to auto on lines 5944/45:
.selectize-input.items.not-full.has-options.focus.input-active.dropdown-active, .selectize-input.items.not-full, .selectize-input.items.full {
          padding: 10px 10px; height: auto !important; box-shadow: none; border-radius: 0px; border: 1px solid #787777a6;


I would like to address the developers of Piwigo to pay more attention as it's also still open on github as well -> [Github] Piwigo issue #1612

Offline

 

#2 2023-05-29 12:39:00

Matthieulp
Piwigo Team
2021-04-30
15

Re: [resolved] [Admin] Tags window to small (again)

Hello,

We've took a look at the issue and the way we handle a big amount of tags in the input is by having a scroll bar that allows you to scroll through the tags that are already in the input.

Now, this doesnt allow you to see all the tags at the same time but it keeps the page clean.

Have a good day!

Offline

 

#3 2023-05-29 12:47:41

matthys
Member
2014-04-02
188

Re: [resolved] [Admin] Tags window to small (again)

Okay, but it would be nice to be more flexible to have changes via LocalFile Editor for the Admin theme as well.

For me, the window is just to small to see it all, even when scrolling - but of course this is just personal.

Offline

 

#4 2023-05-29 19:05:54

Katryne
Member
2016-12-03
391

Re: [resolved] [Admin] Tags window to small (again)

Hello !
I would like too to be able to modify the admin theme via LFE. For now, I must fork some files each time after an update. Please ...


https://album.chauvigne.info/ v.13.8.0 - https://balades.comoni.org/ v.14.5.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.1.29 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Offline

 

#5 2024-02-24 19:18:23

matthys
Member
2014-04-02
188

Re: [resolved] [Admin] Tags window to small (again)

Pity this issue (for me) is still in version 14.2.0, just a recap for myself:
For 14.2.0 modify admin/themes/default/theme.css line 6227, change 45px to auto !important:
  6226  #action_add_tags .selectize-input.items.not-full.has-options.focus.input-active.dropdown-active, .selectize-input.items.not-full, .selectize-input.items.full {
  6227          padding: 10px 10px; height: auto !important; box-shadow: none; border-radius: 0px; border: 1px solid #787777a6;
  6228  }

Offline

 

#6 2024-02-25 00:07:37

Schneider-Fotografie
Member
Berlin
2023-04-16
39

Re: [resolved] [Admin] Tags window to small (again)

admin/themes/default/theme.css
Line 6226 - 6228

Code:

#action_add_tags .selectize-input.items.not-full.has-options.focus.input-active.dropdown-active, .selectize-input.items.not-full, .selectize-input.items.full {
padding: 10px 10px; height: auto !important; box-shadow: none; border-radius: 0px; border: 1px solid #787777a6;
}

Thank you matthys,

now it's clearer and the tags are easier to see. Excellent!

Olaf

Last edited by Schneider-Fotografie (2024-02-25 00:24:02)

Offline

 

#7 2024-03-01 12:51:01

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13820

Re: [resolved] [Admin] Tags window to small (again)

I know the LocalFiles Editor can't change the CSS for the administration. But here is a trick. Use [extension by ddtddt] Add < head > Element instead with:

Code:

<style>
#action_add_tags .selectize-input.items.not-full.has-options.focus.input-active.dropdown-active, .selectize-input.items.not-full, .selectize-input.items.full {
  height: auto !important;
}
</style>

and you're good. No need to re-implement it after each Piwigo update.

Offline

 

#8 2024-03-01 14:10:35

Schneider-Fotografie
Member
Berlin
2023-04-16
39

Re: [resolved] [Admin] Tags window to small (again)

Hello plg

I know that. There was also a different reason why I did it!

Thanks for the information. ;-)
Olaf

Offline

 

#9 2024-03-01 15:27:04

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13820

Re: [resolved] [Admin] Tags window to small (again)

A slight improvement could be to show a 2 lines input by default, auto adjust height depending on content, until you reach 6 lines. Then you have to scroll in the input field.

Code:

  height: auto !important;
  min-height: 76px;
  max-height: 184px;

Offline

 

#10 2024-03-01 16:05:45

matthys
Member
2014-04-02
188

Re: [resolved] [Admin] Tags window to small (again)

Yes, that also would be a good idea. Still I think it should be permanent fix/change in Piwigo and not a work-around...

PS .. just also got an update from github and seems you fixed it as well :-)

Last edited by matthys (2024-03-01 16:10:50)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact