fix: button display

This commit is contained in:
Lucas Larroche 2023-03-12 11:39:53 +07:00
parent 338305a2de
commit fb891bd865
10 changed files with 18 additions and 42 deletions

View file

@ -970,15 +970,8 @@ input[type=button] {
-webkit-appearance: button;
}
button {
display: block;
margin-bottom: var(--pico-spacing);
}
input[type=submit],
input[type=reset],
input[type=button] {
width: 100%;
[role=button] {
display: inline-block;
}
button,
@ -1002,6 +995,7 @@ input[type=file]::file-selector-button,
font-size: 1rem;
line-height: var(--pico-line-height);
text-align: center;
text-decoration: none;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1014,15 +1014,8 @@ input[type=button] {
-webkit-appearance: button;
}
button {
display: block;
margin-bottom: var(--pico-spacing);
}
input[type=submit],
input[type=reset],
input[type=button] {
width: 100%;
[role=button] {
display: inline-block;
}
button,
@ -1046,6 +1039,7 @@ input[type=file]::file-selector-button,
font-size: 1rem;
line-height: var(--pico-line-height);
text-align: center;
text-decoration: none;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;

File diff suppressed because one or more lines are too long

View file

@ -940,15 +940,8 @@ input[type=button] {
-webkit-appearance: button;
}
button {
display: block;
margin-bottom: var(--pico-spacing);
}
input[type=submit],
input[type=reset],
input[type=button] {
width: 100%;
[role=button] {
display: inline-block;
}
button,
@ -972,6 +965,7 @@ input[type=file]::file-selector-button,
font-size: 1rem;
line-height: var(--pico-line-height);
text-align: center;
text-decoration: none;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
css/pico.min.css vendored

File diff suppressed because one or more lines are too long

View file

@ -32,15 +32,8 @@
// Pico
//
button {
display: block;
margin-bottom: var(#{$}spacing);
}
input[type="submit"],
input[type="reset"],
input[type="button"] {
width: 100%;
[role="button"] {
display: inline-block;
}
button,
@ -64,6 +57,7 @@
font-size: 1rem;
line-height: var(#{$}line-height);
text-align: center;
text-decoration: none;
cursor: pointer;
user-select: none;