Skip to content

Commit 28cc66b

Browse files
authored
Switch Margin (#267)
1 parent 26f1ef4 commit 28cc66b

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

CodeBeam.MudBlazor.Extensions/Styles/Components/_switchm3.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
display: inline-flex;
66
align-items: center;
77
vertical-align: middle;
8+
margin-top: 4px;
9+
margin-bottom: 4px;
810
-webkit-tap-highlight-color: transparent;
911

1012
&.mud-disabled {

CodeBeam.MudBlazor.Extensions/Styles/MudExtensions.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,8 @@
444444
display: inline-flex;
445445
align-items: center;
446446
vertical-align: middle;
447+
margin-top: 4px;
448+
margin-bottom: 4px;
447449
-webkit-tap-highlight-color: transparent; }
448450
.mud-switch-m3.mud-disabled {
449451
color: var(--mud-palette-text-disabled) !important;

0 commit comments

Comments
 (0)