Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit edb8cea

Browse files
mjimaznshahan
authored andcommitted
Add mixin rule to remove the right margin.
PiperOrigin-RevId: 193609116
1 parent 55fdda9 commit edb8cea

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

lib/material_checkbox/_mixins.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,17 @@
2020
}
2121

2222

23-
/// Removes left margin of <material-checkbox>s
23+
/// Removes left margin of <material-checkbox>.
2424
///
2525
/// Example use: @include checkbox-no-left-margin
2626
@mixin checkbox-no-left-margin {
2727
margin-left: -3px;
2828
}
29+
30+
/// Removes right margin of <material-checkbox>.
31+
@mixin checkbox-no-right-margin {
32+
margin-right: 0;
33+
}
34+
35+
36+

0 commit comments

Comments
 (0)