Merge pull request #460 from picocss/ll/fix-form-element-margin-bottom-in-grid

fix: form element margin bottom in .grid
This commit is contained in:
Lucas Larroche 2024-03-03 11:26:24 +07:00 committed by GitHub
commit 41832cc0cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
237 changed files with 532 additions and 236 deletions

View file

@ -708,6 +708,16 @@ section {
display: grid;
grid-template-columns: 1fr;
}
@media (max-width: calc(768px - 1px)) {
.grid input:not([type=checkbox], [type=radio]),
.grid select,
.grid textarea,
.grid fieldset,
.grid fieldset legend,
.grid label {
margin-bottom: 0;
}
}
@media (min-width: 768px) {
.grid {
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
@ -1511,7 +1521,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -708,6 +708,16 @@ section {
display: grid;
grid-template-columns: 1fr;
}
@media (max-width: calc(768px - 1px)) {
.grid input:not([type=checkbox], [type=radio]),
.grid select,
.grid textarea,
.grid fieldset,
.grid fieldset legend,
.grid label {
margin-bottom: 0;
}
}
@media (min-width: 768px) {
.grid {
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
@ -1511,7 +1521,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -1345,7 +1345,6 @@ select:not([multiple], [size]) {
}
select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -708,6 +708,16 @@ main {
display: grid;
grid-template-columns: 1fr;
}
@media (max-width: calc(768px - 1px)) {
.grid input:not([type=checkbox], [type=radio]),
.grid select,
.grid textarea,
.grid fieldset,
.grid fieldset legend,
.grid label {
margin-bottom: 0;
}
}
@media (min-width: 768px) {
.grid {
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
@ -1511,7 +1521,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -708,6 +708,16 @@ main {
display: grid;
grid-template-columns: 1fr;
}
@media (max-width: calc(768px - 1px)) {
.grid input:not([type=checkbox], [type=radio]),
.grid select,
.grid textarea,
.grid fieldset,
.grid fieldset legend,
.grid label {
margin-bottom: 0;
}
}
@media (min-width: 768px) {
.grid {
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
@ -1511,7 +1521,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -708,6 +708,16 @@ main {
display: grid;
grid-template-columns: 1fr;
}
@media (max-width: calc(768px - 1px)) {
.grid input:not([type=checkbox], [type=radio]),
.grid select,
.grid textarea,
.grid fieldset,
.grid fieldset legend,
.grid label {
margin-bottom: 0;
}
}
@media (min-width: 768px) {
.grid {
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
@ -1511,7 +1521,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

View file

@ -708,6 +708,16 @@ main {
display: grid;
grid-template-columns: 1fr;
}
@media (max-width: calc(768px - 1px)) {
.grid input:not([type=checkbox], [type=radio]),
.grid select,
.grid textarea,
.grid fieldset,
.grid fieldset legend,
.grid label {
margin-bottom: 0;
}
}
@media (min-width: 768px) {
.grid {
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
@ -1511,7 +1521,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -708,6 +708,16 @@ main {
display: grid;
grid-template-columns: 1fr;
}
@media (max-width: calc(768px - 1px)) {
.grid input:not([type=checkbox], [type=radio]),
.grid select,
.grid textarea,
.grid fieldset,
.grid fieldset legend,
.grid label {
margin-bottom: 0;
}
}
@media (min-width: 768px) {
.grid {
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
@ -1511,7 +1521,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -708,6 +708,16 @@ main {
display: grid;
grid-template-columns: 1fr;
}
@media (max-width: calc(768px - 1px)) {
.grid input:not([type=checkbox], [type=radio]),
.grid select,
.grid textarea,
.grid fieldset,
.grid fieldset legend,
.grid label {
margin-bottom: 0;
}
}
@media (min-width: 768px) {
.grid {
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
@ -1511,7 +1521,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -708,6 +708,16 @@ main {
display: grid;
grid-template-columns: 1fr;
}
@media (max-width: calc(768px - 1px)) {
.grid input:not([type=checkbox], [type=radio]),
.grid select,
.grid textarea,
.grid fieldset,
.grid fieldset legend,
.grid label {
margin-bottom: 0;
}
}
@media (min-width: 768px) {
.grid {
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
@ -1511,7 +1521,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -708,6 +708,16 @@ main {
display: grid;
grid-template-columns: 1fr;
}
@media (max-width: calc(768px - 1px)) {
.grid input:not([type=checkbox], [type=radio]),
.grid select,
.grid textarea,
.grid fieldset,
.grid fieldset legend,
.grid label {
margin-bottom: 0;
}
}
@media (min-width: 768px) {
.grid {
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
@ -1511,7 +1521,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -708,6 +708,16 @@ main {
display: grid;
grid-template-columns: 1fr;
}
@media (max-width: calc(768px - 1px)) {
.grid input:not([type=checkbox], [type=radio]),
.grid select,
.grid textarea,
.grid fieldset,
.grid fieldset legend,
.grid label {
margin-bottom: 0;
}
}
@media (min-width: 768px) {
.grid {
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
@ -1511,7 +1521,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

File diff suppressed because one or more lines are too long

View file

@ -708,6 +708,16 @@ main {
display: grid;
grid-template-columns: 1fr;
}
@media (max-width: calc(768px - 1px)) {
.grid input:not([type=checkbox], [type=radio]),
.grid select,
.grid textarea,
.grid fieldset,
.grid fieldset legend,
.grid label {
margin-bottom: 0;
}
}
@media (min-width: 768px) {
.grid {
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
@ -1511,7 +1521,6 @@ main {
}
.pico select[multiple] option:checked {
background: var(--pico-form-element-selected-background-color);
color: var(--pico-form-element-color);
}
[dir=rtl] .pico select:not([multiple], [size]) {

Some files were not shown because too many files have changed in this diff Show more