Skip to content

Commit 557caf9

Browse files
committed
refactor: 调整标签宽度
1 parent 65731a3 commit 557caf9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/BootstrapBlazor.Server/Components/Samples/ShieldBadges.razor

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,58 +11,58 @@
1111
<div class="row form-inline g-3">
1212
<div class="col-12 col-sm-4">
1313
<BootstrapInputGroup>
14-
<BootstrapInputGroupLabel DisplayText="Icon" Width="96"></BootstrapInputGroupLabel>
14+
<BootstrapInputGroupLabel DisplayText="Icon" Width="106"></BootstrapInputGroupLabel>
1515
<BootstrapInput @bind-Value="@_icon"></BootstrapInput>
1616
</BootstrapInputGroup>
1717
</div>
1818
<div class="col-12 col-sm-4">
1919
<BootstrapInputGroup>
20-
<BootstrapInputGroupLabel DisplayText="IconColor" Width="96"></BootstrapInputGroupLabel>
20+
<BootstrapInputGroupLabel DisplayText="IconColor" Width="106"></BootstrapInputGroupLabel>
2121
<ColorPicker @bind-Value="@_iconColor"></ColorPicker>
2222
</BootstrapInputGroup>
2323
</div>
2424
<div class="col-12 col-sm-4">
2525
</div>
2626
<div class="col-12 col-sm-4">
2727
<BootstrapInputGroup>
28-
<BootstrapInputGroupLabel DisplayText="Label" Width="96"></BootstrapInputGroupLabel>
28+
<BootstrapInputGroupLabel DisplayText="Label" Width="106"></BootstrapInputGroupLabel>
2929
<BootstrapInput @bind-Value="@_label"></BootstrapInput>
3030
</BootstrapInputGroup>
3131
</div>
3232
<div class="col-12 col-sm-4">
3333
<BootstrapInputGroup>
34-
<BootstrapInputGroupLabel DisplayText="LabelColor" Width="96"></BootstrapInputGroupLabel>
34+
<BootstrapInputGroupLabel DisplayText="LabelColor" Width="106"></BootstrapInputGroupLabel>
3535
<ColorPicker @bind-Value="@_labelColor"></ColorPicker>
3636
</BootstrapInputGroup>
3737
</div>
3838
<div class="col-12 col-sm-4">
3939
<BootstrapInputGroup>
40-
<BootstrapInputGroupLabel DisplayText="LabelBgColor" Width="96"></BootstrapInputGroupLabel>
40+
<BootstrapInputGroupLabel DisplayText="LabelBgColor" Width="106"></BootstrapInputGroupLabel>
4141
<ColorPicker @bind-Value="@_labelBackgroundColor"></ColorPicker>
4242
</BootstrapInputGroup>
4343
</div>
4444
<div class="col-12 col-sm-4">
4545
<BootstrapInputGroup>
46-
<BootstrapInputGroupLabel DisplayText="Text" Width="96"></BootstrapInputGroupLabel>
46+
<BootstrapInputGroupLabel DisplayText="Text" Width="106"></BootstrapInputGroupLabel>
4747
<BootstrapInput @bind-Value="@_text"></BootstrapInput>
4848
</BootstrapInputGroup>
4949
</div>
5050
<div class="col-12 col-sm-4">
5151
<BootstrapInputGroup>
52-
<BootstrapInputGroupLabel DisplayText="TextColor" Width="96"></BootstrapInputGroupLabel>
52+
<BootstrapInputGroupLabel DisplayText="TextColor" Width="106"></BootstrapInputGroupLabel>
5353
<ColorPicker @bind-Value="@_textColor"></ColorPicker>
5454
</BootstrapInputGroup>
5555
</div>
5656
<div class="col-12 col-sm-4">
5757
<BootstrapInputGroup>
58-
<BootstrapInputGroupLabel DisplayText="TextBgColor" Width="96"></BootstrapInputGroupLabel>
58+
<BootstrapInputGroupLabel DisplayText="TextBgColor" Width="106"></BootstrapInputGroupLabel>
5959
<ColorPicker @bind-Value="@_textBackgroundColor"></ColorPicker>
6060
</BootstrapInputGroup>
6161
</div>
6262
<div class="col-12 col-sm-4">
6363
<BootstrapInputGroup>
64-
<BootstrapInputGroupLabel DisplayText="Radius" Width="96"></BootstrapInputGroupLabel>
65-
<Slider @bind-Value="@_radius" Min="0" Max="10"></Slider>
64+
<BootstrapInputGroupLabel DisplayText="Radius" Width="106"></BootstrapInputGroupLabel>
65+
<Slider @bind-Value="@_radius" Min="0" Max="10" Step="1"></Slider>
6666
</BootstrapInputGroup>
6767
</div>
6868
</div>

0 commit comments

Comments
 (0)