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

DataViews: Add density option to table layout #67170

Merged
merged 7 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@

.dataviews-view-table & {
margin-bottom: $grid-unit-10;
display: block;
ntsekouras marked this conversation as resolved.
Show resolved Hide resolved
}
}

Expand Down
7 changes: 2 additions & 5 deletions packages/fields/src/fields/featured-image/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,10 @@ fieldset.fields-controls__featured-image {
}

.dataviews-view-table__cell-content-wrapper {
.fields-controls__featured-image-image {
width: 32px;
height: 32px;
}

.fields-controls__featured-image-image,
.fields-controls__featured-image-placeholder {
width: 32px;
height: 32px;
display: block;
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar to the previous bug. The lack of display property was creating whitespace beneath the featured image which messed up alignment.

}
}
Loading