Skip to content

Commit 3f5850e

Browse files
committed
style: 增加适配样式
1 parent 4965b08 commit 3f5850e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/BootstrapBlazor/Components/Input/BootstrapInputGroup.razor.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,22 @@
5858
> .form-label {
5959
display: none;
6060
}
61+
62+
> .form-check {
63+
--bb-form-check-padding: 0.375rem 0.75rem;
64+
border: 1px solid var(--bs-border-color);
65+
border-radius: var(--bs-border-radius);
66+
flex-grow: 1;
67+
width: 1%;
68+
min-width: 0;
69+
display: flex;
70+
align-items: center;
71+
padding: var(--bb-form-check-padding);
72+
73+
&:hover {
74+
border: 1px solid var(--bb-border-hover-color);
75+
}
76+
}
6177
}
6278

6379
.input-group-xs {

0 commit comments

Comments
 (0)