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

fix(NcListItem): Anchor height was set not to content but random area #5780

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jul 4, 2024

☑️ Resolves

  • The anchor height is in reality not default-clickable-area but 2 lines of text
  • Fix visual regressions on Nextcloud 30 by making the padding dependent of the border radius
  • The margin for the focus-visual needs only to account for the box shadow on the first and last element, all other can just have a margin for the border.

@marcoambrosini this is a bug fix for invalid height which causes some errors, but maybe it also fixes visual regression good enough for Nextcloud 30, what do you think?
See screencase for Nextcloud 30 and 29 behavior below

🖼️ Screenshots

Bildschirmaufnahme_20240704_175824.webm

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable
  • 3️⃣ Backport to next requested with a Vue 3 upgrade

* The anchor height is in reality not default-clickable-area but 2 lines of text
* Fix visual regressions on Nextcloud 30 by making the padding dependant of the border radius
* The margin for the focus-visual needs only to account for the box shadow on the first and last element, all other can just have a margin for the border.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux added bug Something isn't working 3. to review Waiting for reviews feature: list-item Related to the list-item component labels Jul 4, 2024
@susnux susnux modified the milestones: 8.14.0, 8.14.1 Jul 4, 2024
@susnux susnux requested a review from ShGKme July 16, 2024 10:23
@susnux susnux merged commit 318458a into master Jul 18, 2024
19 checks passed
@susnux susnux deleted the fix/list-item-height branch July 18, 2024 19:33
@susnux
Copy link
Contributor Author

susnux commented Jul 18, 2024

/backport to next

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 Something isn't working feature: list-item Related to the list-item component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants