2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Replace non-existent --bs-btn-padding by --bs-btn-padding-{x|y}

This commit is contained in:
Julien Déramond
2022-02-23 14:04:08 +01:00
committed by Mark Otto
parent a381ee320b
commit 36765912c6
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ You can even roll your own custom sizing with CSS variables:
{{< example >}}
<button type="button" class="btn btn-primary"
style="--bs-btn-padding: .25rem .5rem; --bs-btn-font-size: .75rem;">
style="--bs-btn-padding-y: .25rem; --bs-btn-padding-x: .5rem; --bs-btn-font-size: .75rem;">
Custom button
</button>
{{< /example >}}