Skip to content

Commit ba30b00

Browse files
authored
Update numeric input styles to Bootstrap 5 (#709)
1 parent 1c9b66e commit ba30b00

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/components_page/components/input.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ When using `Input` with `type='number'`, the `value` prop will be given the valu
1919
#styled-numeric-input input:invalid {
2020
border-color: #dc3545;
2121
padding-right: calc(1.5em + 0.75rem);
22-
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
22+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
2323
background-repeat: no-repeat;
24-
background-position: center right calc(0.375em + 0.1875rem);
24+
background-position: right calc(0.375em + 0.1875rem) center;
2525
background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
2626
outline: none;
2727
}

docs/static/docs.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ span.hljs-meta {
136136
#styled-numeric-input input:invalid {
137137
border-color: #dc3545;
138138
padding-right: calc(1.5em + 0.75rem);
139-
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
139+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
140140
background-repeat: no-repeat;
141-
background-position: center right calc(0.375em + 0.1875rem);
141+
background-position: right calc(0.375em + 0.1875rem) center;
142142
background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
143143
outline: none;
144144
}

0 commit comments

Comments
 (0)