Skip to content

Commit

Permalink
Fix: Input hidden #39
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaslarroche committed Oct 23, 2021
1 parent 688a638 commit 08d6d34
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 21 deletions.
5 changes: 1 addition & 4 deletions css/pico.classless.css
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,6 @@ fieldset legend {
input:not([type=checkbox]):not([type=radio]),
select,
textarea {
display: block;
width: 100%;
}

Expand Down Expand Up @@ -1183,7 +1182,6 @@ label > input, label > select, label > textarea {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
display: inline-block;
width: 1.25em;
height: 1.25em;
margin-top: -0.125em;
Expand Down Expand Up @@ -1351,7 +1349,6 @@ label > input, label > select, label > textarea {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
display: block;
width: 100%;
height: 1.25rem;
background: transparent;
Expand Down Expand Up @@ -1561,7 +1558,7 @@ hr {

[hidden],
template {
display: none;
display: none !important;
}

dialog {
Expand Down
2 changes: 1 addition & 1 deletion css/pico.classless.min.css

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions css/pico.css
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,6 @@ fieldset legend {
input:not([type=checkbox]):not([type=radio]),
select,
textarea {
display: block;
width: 100%;
}

Expand Down Expand Up @@ -1360,7 +1359,6 @@ label > input, label > select, label > textarea {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
display: inline-block;
width: 1.25em;
height: 1.25em;
margin-top: -0.125em;
Expand Down Expand Up @@ -1528,7 +1526,6 @@ label > input, label > select, label > textarea {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
display: block;
width: 100%;
height: 1.25rem;
background: transparent;
Expand Down Expand Up @@ -1738,7 +1735,7 @@ hr {

[hidden],
template {
display: none;
display: none !important;
}

dialog {
Expand Down
5 changes: 1 addition & 4 deletions css/pico.fluid.classless.css
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,6 @@ fieldset legend {
input:not([type=checkbox]):not([type=radio]),
select,
textarea {
display: block;
width: 100%;
}

Expand Down Expand Up @@ -1153,7 +1152,6 @@ label > input, label > select, label > textarea {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
display: inline-block;
width: 1.25em;
height: 1.25em;
margin-top: -0.125em;
Expand Down Expand Up @@ -1321,7 +1319,6 @@ label > input, label > select, label > textarea {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
display: block;
width: 100%;
height: 1.25rem;
background: transparent;
Expand Down Expand Up @@ -1531,7 +1528,7 @@ hr {

[hidden],
template {
display: none;
display: none !important;
}

dialog {
Expand Down
2 changes: 1 addition & 1 deletion css/pico.fluid.classless.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/pico.min.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion css/pico.slim.css
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,6 @@ fieldset legend {
input:not([type=checkbox]):not([type=radio]),
select,
textarea {
display: block;
width: 100%;
}

Expand Down
2 changes: 1 addition & 1 deletion css/pico.slim.min.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion scss/content/_form-alt-input-types.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
display: block;
width: 100%;
height: $height-thumb;
background: transparent;
Expand Down
1 change: 0 additions & 1 deletion scss/content/_form-checkbox-radio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
display: inline-block;
width: 1.25em;
height: 1.25em;
margin-top: -.125em;
Expand Down
1 change: 0 additions & 1 deletion scss/content/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ fieldset legend {
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
display: block;
width: 100%;
}

Expand Down
7 changes: 6 additions & 1 deletion scss/content/_miscs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ hr {
// Add the correct display in IE 10+
[hidden],
template {
display: none;
@if $enable-important {
display: none !important;
}
@else {
display: none;
}
}

// Add the correct styles in Edge 18-, IE, and Safari
Expand Down

0 comments on commit 08d6d34

Please sign in to comment.