Skip to content

Commit

Permalink
fix: des-2725 c-app-card--types not centered (#334)
Browse files Browse the repository at this point in the history
* fix: des-2725 c-app-card--types not centered

* fix: des-2725 s-app-card useless style

* build: des-2725 app-card tweaks

* fix: des-2725 app-card centering correct solution

* fix: des-2725 app-card now easy to overwrite
  • Loading branch information
wesleyboar committed Apr 12, 2024
1 parent cf6d3a9 commit f75e622
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/components/c-app-card.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/lib/_imports/components/c-app-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

text-align: center;

&:is(a) {
&:where(a) {
color: inherit;

&:hover {
Expand Down Expand Up @@ -60,11 +60,11 @@
margin-block: auto;
flex-grow: 0;

&:is(ul) {
&:where(ul) {
padding-inline-start: 0;
}
}
:--c-app-card__types > :is(li, div, p) {
:--c-app-card__types > :where(li, div, p) {
display: inline;
}
:--c-app-card__types > :not(:last-child)::after {
Expand All @@ -81,7 +81,7 @@
flex-direction: row;
justify-content: space-between;

&:is(ul) {
&:where(ul) {
list-style: none;
padding-inline-start: 0;
margin-block: unset;
Expand Down

0 comments on commit f75e622

Please sign in to comment.