mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 02:36:15 -04:00
fix: button display
This commit is contained in:
parent
338305a2de
commit
fb891bd865
10 changed files with 18 additions and 42 deletions
|
@ -970,15 +970,8 @@ input[type=button] {
|
||||||
-webkit-appearance: button;
|
-webkit-appearance: button;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
[role=button] {
|
||||||
display: block;
|
display: inline-block;
|
||||||
margin-bottom: var(--pico-spacing);
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type=submit],
|
|
||||||
input[type=reset],
|
|
||||||
input[type=button] {
|
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
button,
|
button,
|
||||||
|
@ -1002,6 +995,7 @@ input[type=file]::file-selector-button,
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: var(--pico-line-height);
|
line-height: var(--pico-line-height);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
text-decoration: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
|
|
File diff suppressed because one or more lines are too long
2
css/pico.classless.min.css
vendored
2
css/pico.classless.min.css
vendored
File diff suppressed because one or more lines are too long
12
css/pico.css
12
css/pico.css
|
@ -1014,15 +1014,8 @@ input[type=button] {
|
||||||
-webkit-appearance: button;
|
-webkit-appearance: button;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
[role=button] {
|
||||||
display: block;
|
display: inline-block;
|
||||||
margin-bottom: var(--pico-spacing);
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type=submit],
|
|
||||||
input[type=reset],
|
|
||||||
input[type=button] {
|
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
button,
|
button,
|
||||||
|
@ -1046,6 +1039,7 @@ input[type=file]::file-selector-button,
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: var(--pico-line-height);
|
line-height: var(--pico-line-height);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
text-decoration: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -940,15 +940,8 @@ input[type=button] {
|
||||||
-webkit-appearance: button;
|
-webkit-appearance: button;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
[role=button] {
|
||||||
display: block;
|
display: inline-block;
|
||||||
margin-bottom: var(--pico-spacing);
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type=submit],
|
|
||||||
input[type=reset],
|
|
||||||
input[type=button] {
|
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
button,
|
button,
|
||||||
|
@ -972,6 +965,7 @@ input[type=file]::file-selector-button,
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: var(--pico-line-height);
|
line-height: var(--pico-line-height);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
text-decoration: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
|
|
File diff suppressed because one or more lines are too long
2
css/pico.fluid.classless.min.css
vendored
2
css/pico.fluid.classless.min.css
vendored
File diff suppressed because one or more lines are too long
2
css/pico.min.css
vendored
2
css/pico.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -32,15 +32,8 @@
|
||||||
// Pico
|
// Pico
|
||||||
// ––––––––––––––––––––
|
// ––––––––––––––––––––
|
||||||
|
|
||||||
button {
|
[role="button"] {
|
||||||
display: block;
|
display: inline-block;
|
||||||
margin-bottom: var(#{$✨}spacing);
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="submit"],
|
|
||||||
input[type="reset"],
|
|
||||||
input[type="button"] {
|
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
button,
|
button,
|
||||||
|
@ -64,6 +57,7 @@
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: var(#{$✨}line-height);
|
line-height: var(#{$✨}line-height);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
text-decoration: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue