mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
Fix #3786
This commit is contained in:
parent
bb0518451d
commit
0c3d84519b
@ -9,6 +9,7 @@
|
|||||||
- Fix #3744: build non-minified versions
|
- Fix #3744: build non-minified versions
|
||||||
- Fix #3747: ability to nest fixed grids
|
- Fix #3747: ability to nest fixed grids
|
||||||
- Fix #3759: remove unused `.skeleton` class
|
- Fix #3759: remove unused `.skeleton` class
|
||||||
|
- Fix #3786: fix horizontal padding of rounded buttons
|
||||||
|
|
||||||
### Documentation fixes
|
### Documentation fixes
|
||||||
|
|
||||||
|
4
css/bulma.css
vendored
4
css/bulma.css
vendored
@ -3857,8 +3857,8 @@ a.box:active {
|
|||||||
}
|
}
|
||||||
.button.is-rounded {
|
.button.is-rounded {
|
||||||
border-radius: var(--bulma-radius-rounded);
|
border-radius: var(--bulma-radius-rounded);
|
||||||
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em);
|
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em - var(--bulma-button-border-width));
|
||||||
padding-right: calc(var(--bulma-button-padding-horizontal) + 0.25em);
|
padding-right: calc(var(--bulma-button-padding-horizontal) + 0.25em - var(--bulma-button-border-width));
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttons {
|
.buttons {
|
||||||
|
File diff suppressed because one or more lines are too long
2
css/bulma.min.css
vendored
2
css/bulma.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1054,8 +1054,8 @@ a.box:active {
|
|||||||
}
|
}
|
||||||
.button.is-rounded {
|
.button.is-rounded {
|
||||||
border-radius: var(--bulma-radius-rounded);
|
border-radius: var(--bulma-radius-rounded);
|
||||||
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em);
|
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em - var(--bulma-button-border-width));
|
||||||
padding-right: calc(var(--bulma-button-padding-horizontal) + 0.25em);
|
padding-right: calc(var(--bulma-button-padding-horizontal) + 0.25em - var(--bulma-button-border-width));
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttons {
|
.buttons {
|
||||||
|
File diff suppressed because one or more lines are too long
2
css/versions/bulma-no-dark-mode.min.css
vendored
2
css/versions/bulma-no-dark-mode.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1054,8 +1054,8 @@ a.bulma-box:active {
|
|||||||
}
|
}
|
||||||
.bulma-button.bulma-is-rounded {
|
.bulma-button.bulma-is-rounded {
|
||||||
border-radius: var(--bulma-radius-rounded);
|
border-radius: var(--bulma-radius-rounded);
|
||||||
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em);
|
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em - var(--bulma-button-border-width));
|
||||||
padding-right: calc(var(--bulma-button-padding-horizontal) + 0.25em);
|
padding-right: calc(var(--bulma-button-padding-horizontal) + 0.25em - var(--bulma-button-border-width));
|
||||||
}
|
}
|
||||||
|
|
||||||
.bulma-buttons {
|
.bulma-buttons {
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1054,8 +1054,8 @@ a.box:active {
|
|||||||
}
|
}
|
||||||
.button.is-rounded {
|
.button.is-rounded {
|
||||||
border-radius: var(--bulma-radius-rounded);
|
border-radius: var(--bulma-radius-rounded);
|
||||||
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em);
|
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em - var(--bulma-button-border-width));
|
||||||
padding-right: calc(var(--bulma-button-padding-horizontal) + 0.25em);
|
padding-right: calc(var(--bulma-button-padding-horizontal) + 0.25em - var(--bulma-button-border-width));
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttons {
|
.buttons {
|
||||||
|
File diff suppressed because one or more lines are too long
2
css/versions/bulma-no-helpers.min.css
vendored
2
css/versions/bulma-no-helpers.min.css
vendored
File diff suppressed because one or more lines are too long
4
css/versions/bulma-prefixed.min.css
vendored
4
css/versions/bulma-prefixed.min.css
vendored
@ -3857,8 +3857,8 @@ a.bulma-box:active {
|
|||||||
}
|
}
|
||||||
.bulma-button.bulma-is-rounded {
|
.bulma-button.bulma-is-rounded {
|
||||||
border-radius: var(--bulma-radius-rounded);
|
border-radius: var(--bulma-radius-rounded);
|
||||||
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em);
|
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em - var(--bulma-button-border-width));
|
||||||
padding-right: calc(var(--bulma-button-padding-horizontal) + 0.25em);
|
padding-right: calc(var(--bulma-button-padding-horizontal) + 0.25em - var(--bulma-button-border-width));
|
||||||
}
|
}
|
||||||
|
|
||||||
.bulma-buttons {
|
.bulma-buttons {
|
||||||
|
File diff suppressed because one or more lines are too long
2
css/versions/bulma-prefixed.min.min.css
vendored
2
css/versions/bulma-prefixed.min.min.css
vendored
File diff suppressed because one or more lines are too long
@ -7296,8 +7296,8 @@ a.box:active {
|
|||||||
}
|
}
|
||||||
.button.is-rounded {
|
.button.is-rounded {
|
||||||
border-radius: var(--bulma-radius-rounded);
|
border-radius: var(--bulma-radius-rounded);
|
||||||
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em);
|
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em - var(--bulma-button-border-width));
|
||||||
padding-right: calc(var(--bulma-button-padding-horizontal) + 0.25em);
|
padding-right: calc(var(--bulma-button-padding-horizontal) + 0.25em - var(--bulma-button-border-width));
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttons {
|
.buttons {
|
||||||
|
@ -33,6 +33,7 @@ $button-border-width: cv.getVar("control-border-width") !default;
|
|||||||
|
|
||||||
$button-padding-vertical: 0.5em !default;
|
$button-padding-vertical: 0.5em !default;
|
||||||
$button-padding-horizontal: 1em !default;
|
$button-padding-horizontal: 1em !default;
|
||||||
|
$button-rounded-padding-horizontal-offset: 0.25em !default;
|
||||||
|
|
||||||
$button-focus-border-color: cv.getVar("link-focus-border") !default;
|
$button-focus-border-color: cv.getVar("link-focus-border") !default;
|
||||||
$button-focus-box-shadow-size: 0 0 0 0.125em !default;
|
$button-focus-box-shadow-size: 0 0 0 0.125em !default;
|
||||||
@ -533,8 +534,14 @@ $no-palette: ("white", "black", "light", "dark");
|
|||||||
|
|
||||||
&.#{iv.$class-prefix}is-rounded {
|
&.#{iv.$class-prefix}is-rounded {
|
||||||
border-radius: cv.getVar("radius-rounded");
|
border-radius: cv.getVar("radius-rounded");
|
||||||
padding-left: calc(#{cv.getVar("button-padding-horizontal")} + 0.25em);
|
padding-left: calc(
|
||||||
padding-right: calc(#{cv.getVar("button-padding-horizontal")} + 0.25em);
|
#{cv.getVar("button-padding-horizontal")} + #{$button-rounded-padding-horizontal-offset} -
|
||||||
|
#{cv.getVar("button-border-width")}
|
||||||
|
);
|
||||||
|
padding-right: calc(
|
||||||
|
#{cv.getVar("button-padding-horizontal")} + #{$button-rounded-padding-horizontal-offset} -
|
||||||
|
#{cv.getVar("button-border-width")}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user