Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/components/registry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@ export default {

.full-width th:nth-child(1),
.full-width td:nth-child(1) {
min-width: 40%;
width: 50%;
min-width: 25%;
width: 25%;
Comment on lines +121 to +122

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The min-width property is redundant when its value is identical to the width property, especially in a table-layout: fixed context where width explicitly controls the column size. Removing the min-width property simplifies the CSS without changing the visual outcome.

  width: 25%;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I also thought that but the original codebase has min-width so decided not to delete. If that'd be better to drop, please let me know.

}

.full-width th:nth-child(2),
.full-width td:nth-child(2) {
min-width: 40%;
width: 50%;
min-width: 55%;
width: 55%;
Comment on lines +127 to +128

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Similar to the first column, the min-width property here is redundant as its value matches the width property. For clarity and conciseness, consider removing the min-width declaration.

  width: 55%;

}

.full-width th:nth-child(3),
Expand Down
Loading