Skip to content

Commit

Permalink
Use more strict CSS selector for backwards compatibility
Browse files Browse the repository at this point in the history
Use a more strict CSS selector to target `.sr-listings-grid-item` so
that recent CSS changes are more backwards compatible.
  • Loading branch information
CodyReichert committed Feb 28, 2024
1 parent 081c54f commit d19059c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/assets/css/simply-rets-client.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,18 @@ sizes with this class.
clear: both;
}

.sr-listing-grid-item {
margin-top: 25px;
}

.sr-listings-grid-view {
display: grid;
justify-content: center;
grid-template-columns: repeat(3, 1fr);
column-gap: 15px;
}

.sr-listings-grid-view .sr-listing-grid-item {
margin-top: 25px;
width: 100%;
}

.sr-pagination-wrapper {
clear: both;
padding-top: 15px;
Expand Down

0 comments on commit d19059c

Please sign in to comment.