This commit is contained in:
Jeremy Thomas 2024-05-20 17:26:44 +01:00
parent bb0518451d
commit 0c3d84519b
18 changed files with 32 additions and 24 deletions

View File

@ -9,6 +9,7 @@
- Fix #3744: build non-minified versions
- Fix #3747: ability to nest fixed grids
- Fix #3759: remove unused `.skeleton` class
- Fix #3786: fix horizontal padding of rounded buttons
### Documentation fixes

4
css/bulma.css vendored
View File

@ -3857,8 +3857,8 @@ a.box:active {
}
.button.is-rounded {
border-radius: var(--bulma-radius-rounded);
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em);
padding-right: 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 - var(--bulma-button-border-width));
}
.buttons {

File diff suppressed because one or more lines are too long

2
css/bulma.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -1054,8 +1054,8 @@ a.box:active {
}
.button.is-rounded {
border-radius: var(--bulma-radius-rounded);
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em);
padding-right: 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 - var(--bulma-button-border-width));
}
.buttons {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1054,8 +1054,8 @@ a.bulma-box:active {
}
.bulma-button.bulma-is-rounded {
border-radius: var(--bulma-radius-rounded);
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em);
padding-right: 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 - var(--bulma-button-border-width));
}
.bulma-buttons {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1054,8 +1054,8 @@ a.box:active {
}
.button.is-rounded {
border-radius: var(--bulma-radius-rounded);
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em);
padding-right: 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 - var(--bulma-button-border-width));
}
.buttons {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3857,8 +3857,8 @@ a.bulma-box:active {
}
.bulma-button.bulma-is-rounded {
border-radius: var(--bulma-radius-rounded);
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em);
padding-right: 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 - var(--bulma-button-border-width));
}
.bulma-buttons {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -7296,8 +7296,8 @@ a.box:active {
}
.button.is-rounded {
border-radius: var(--bulma-radius-rounded);
padding-left: calc(var(--bulma-button-padding-horizontal) + 0.25em);
padding-right: 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 - var(--bulma-button-border-width));
}
.buttons {

View File

@ -33,6 +33,7 @@ $button-border-width: cv.getVar("control-border-width") !default;
$button-padding-vertical: 0.5em !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-box-shadow-size: 0 0 0 0.125em !default;
@ -533,8 +534,14 @@ $no-palette: ("white", "black", "light", "dark");
&.#{iv.$class-prefix}is-rounded {
border-radius: cv.getVar("radius-rounded");
padding-left: calc(#{cv.getVar("button-padding-horizontal")} + 0.25em);
padding-right: calc(#{cv.getVar("button-padding-horizontal")} + 0.25em);
padding-left: calc(
#{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")}
);
}
}