Skip to content

Commit

Permalink
[5.2] Articles Module: Remove unused css + modified container query (#…
Browse files Browse the repository at this point in the history
…44327)

* Remove unused css

* Modified container query
  • Loading branch information
drmenzelit authored Nov 7, 2024
1 parent 83333d4 commit d7bc6e9
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions build/media_source/mod_articles/css/mod-articles.css
Original file line number Diff line number Diff line change
@@ -1,23 +1,3 @@
.mod-articles-item-card .mod-articles-link::before {
position: absolute;
z-index: 1;
content: "";
inset: 0;
}
.mod-articles-item-card {
position: relative;
}
.mod-articles-item-card:focus-within {
box-shadow: 0 0 0 var(--focus-ring-width) var(--focus-ring-color);
}
.mod-articles-item-card:focus-within :focus {
border: none;
outline: none;
box-shadow: none;
}
.mod-articles-item-card:hover {
box-shadow: 1px 1px 4px #0000001a;
}
.mod-articles-item {
display: flex;
flex-direction: column;
Expand All @@ -29,8 +9,8 @@
margin-bottom: .5rem;
}
@supports (container-type: inline-size) {
div:has(.mod-articles-grid),
section:has(.mod-articles-grid) {
div:has(> .mod-articles-grid),
section:has(> .mod-articles-grid) {
container-type: inline-size;
}
}
Expand Down

0 comments on commit d7bc6e9

Please sign in to comment.