fix radio styles (#1669)

This commit is contained in:
Cory LaViska
2025-10-27 23:02:41 -04:00
committed by GitHub
parent 4a7f9dfe00
commit fba18efad6
2 changed files with 11 additions and 3 deletions

View File

@@ -178,6 +178,7 @@ Then apply the following class to the `<html>` element:
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: var(--wa-space-m);
}
&::part(form-control-label) {
@@ -190,7 +191,11 @@ Then apply the following class to the `<html>` element:
overflow: hidden;
white-space: nowrap;
padding: 0;
}
}
wa-radio {
margin-inline: 0;
}
}
.palette-card {

View File

@@ -279,14 +279,13 @@ Then apply the following classes to the `<html>` element:
}
#theme-viewer {
margin-block-start: 2rem;
#theme-picker {
&::part(form-control-input) {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: var(--wa-space-m);
}
&::part(form-control-label) {
@@ -300,6 +299,10 @@ Then apply the following classes to the `<html>` element:
white-space: nowrap;
padding: 0;
}
wa-radio {
margin-inline: 0;
}
}
.theme-card {