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: Do not allow border to grow row height #12254

Merged
merged 9 commits into from
Mar 25, 2021
Merged

Conversation

TatuLund
Copy link
Contributor

@TatuLund TatuLund commented Mar 23, 2021

If css grows row height the VSrollTable rowHeight logic does not work allways

  • Use boder-box in order not to row to grow
  • Compensate the change in other table styles so that with default stylings table row height stays the same

Fixes: #12251


This change is Reviewable

Copy link
Contributor

@edler-san edler-san left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1, 1 of 1 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @TatuLund)

Copy link
Member

@OlliTietavainenVaadin OlliTietavainenVaadin left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @TatuLund)

@OlliTietavainenVaadin OlliTietavainenVaadin merged commit 9c6d845 into 7.7 Mar 25, 2021
@tarekoraby tarekoraby added this to the 7.7.25 milestone Mar 26, 2021
@tarekoraby tarekoraby added the v7 label Mar 26, 2021
@Ansku Ansku deleted the fix12251 branch April 13, 2021 14:24
}

.#{$primary-stylename}-table tr:first-child > td {
height: $v-table-row-height;
Copy link
Contributor

Choose a reason for hiding this comment

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

This broke all my custom tables (I need to specify a tr:first-child too).
But also broke valo compact style.

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

Successfully merging this pull request may close these issues.

5 participants