Skip to content

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

Merged
susnux merged 1 commit into
masterfrom
fix/list-item-height
Jul 18, 2024
Merged

fix(NcListItem): Anchor height was set not to content but random area#5780
susnux merged 1 commit into
masterfrom
fix/list-item-height

Conversation

@susnux

@susnux susnux commented Jul 4, 2024

Copy link
Copy Markdown
Contributor

☑️ 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
@susnux
susnux deleted the fix/list-item-height branch July 18, 2024 19:33
@susnux

susnux commented Jul 18, 2024

Copy link
Copy Markdown
Contributor Author

/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