Skip to content

Commit

Permalink
Fix visibility issues with Post List content fields
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymcp committed Jul 8, 2024
1 parent 4f703ce commit b001626
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
4 changes: 4 additions & 0 deletions private/src/styles/components/grid/_editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
font-family: var(--wp--preset--font-family--primary);
}

.grid-itemContent .components-button svg {
fill: unset;
}

.linkList-options {
position: absolute;
z-index: 10;
Expand Down
16 changes: 0 additions & 16 deletions private/src/styles/components/grid/_item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,22 +98,6 @@ h3.grid-itemTitle > a {
left: 0;
}

.grid-itemContent {
position: relative;
display: none;
overflow: hidden;
max-width: 100%;
}

.no-js .grid-item:hover .grid-itemContent,
.no-js .grid-item:focus .grid-itemContent {
display: block;
}

.no-js .grid-item:focus-within .grid-itemContent {
display: block;
}

.grid {
display: grid;
row-gap: 20px;
Expand Down

0 comments on commit b001626

Please sign in to comment.