Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable25] fix the popovermenu #35517

Merged
merged 1 commit into from
Dec 8, 2022
Merged

[stable25] fix the popovermenu #35517

merged 1 commit into from
Dec 8, 2022

Conversation

backportbot-nextcloud[bot]
Copy link

@backportbot-nextcloud backportbot-nextcloud bot commented Nov 30, 2022

  • ⚠️ This backport had conflicts and is incomplete

backport of #35484

@szaimen
Copy link
Contributor

szaimen commented Nov 30, 2022

/compile amend /

@szaimen szaimen added the 3. to review Waiting for reviews label Nov 30, 2022
@blizzz blizzz mentioned this pull request Dec 1, 2022
@blizzz
Copy link
Member

blizzz commented Dec 1, 2022

moving to 25.0.3

@szaimen
Copy link
Contributor

szaimen commented Dec 8, 2022

/rebase

Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@szaimen szaimen enabled auto-merge December 8, 2022 14:47
@szaimen szaimen disabled auto-merge December 8, 2022 17:38
@szaimen szaimen merged commit 978d669 into stable25 Dec 8, 2022
@szaimen szaimen deleted the backport/35484/stable25 branch December 8, 2022 17:39
@skjnldsv skjnldsv mentioned this pull request Jan 6, 2023
5 tasks
@blizzz blizzz mentioned this pull request Jan 11, 2023
6 tasks
Copy link
Contributor

@rotdrop rotdrop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO, the changes to apps.scss break file-actions which use an img-tag for their icons: the width is now 0, what remains is two times the padding which only makes for 28px instead of the necessary 44px.

@szaimen
Copy link
Contributor

szaimen commented Jan 16, 2023

Hi, did you already test 25.0.3 (which is not out yet)? This PR should actually fix the issue and not introduce it...

@rotdrop
Copy link
Contributor

rotdrop commented Jan 16, 2023

I actually testing on a modified version of the current stable25 branch. I'll recheck with an unmodified version and come to it. What I see is that removing the dimensions of the img tag make it size 0. But as I said, I'd better recheck that. There two different "icon-providers" in the file-actions menu, the correctly working ones use a span:

<a href="#" class="menuitem action action-download permanent" data-action="Download">
    <span class="icon icon-download"></span>
    <span>Herunterladen</span>
/a>

The other ones have an img tag:

<a href="#" class="menuitem action action-mount-archive permanent" data-action="mount-archive">
  <img class="icon" src="/core/img/actions/external.svg">
  <span>Archiv einhängen</span>
</a>

In my view the img has width and height 16px and a padding of 14px. Now, as we have box-sizing=border-box the actual width is then set to 0 and just the padding remains.

I recheck with some vanilla stable25 branch first ...

@szaimen
Copy link
Contributor

szaimen commented Jan 16, 2023

Hm... If that should be reproducible, can you open a new bug report with up-to-date information? Thanks!

@rotdrop
Copy link
Contributor

rotdrop commented Jan 16, 2023

Hm... If that should be reproducible, can you open a new bug report with up-to-date information? Thanks!

Yes, I'll do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants