Skip to content

Commit 7aac2db

Browse files
committed
style: lint
1 parent f2bab24 commit 7aac2db

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

core/src/components/checkbox/checkbox.common.scss

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,17 @@
4343
* toolbar which is why we do not
4444
* limit the below behavior to just ion-item.
4545
*/
46-
:host([slot="start"]),
47-
:host([slot="end"]) {
48-
// Reset the flex property when the checkbox
49-
// is slotted to avoid growing the element larger
50-
// than its content.
51-
flex: initial;
46+
:host([slot="start"]),
47+
:host([slot="end"]) {
48+
// Reset the flex property when the checkbox
49+
// is slotted to avoid growing the element larger
50+
// than its content.
51+
flex: initial;
5252

53-
width: auto;
54-
}
53+
width: auto;
54+
}
5555

56-
.checkbox-wrapper {
56+
.checkbox-wrapper {
5757
display: flex;
5858

5959
flex-grow: 1;
@@ -79,7 +79,7 @@
7979
* then the element should be hidden otherwise
8080
* there will be additional margins added.
8181
*/
82-
.label-text-wrapper-hidden {
82+
.label-text-wrapper-hidden {
8383
display: none;
8484
}
8585

@@ -139,7 +139,7 @@
139139
* Label is on the left of the checkbox in LTR and
140140
* on the right in RTL.
141141
*/
142-
:host(.checkbox-label-placement-start) .checkbox-wrapper {
142+
:host(.checkbox-label-placement-start) .checkbox-wrapper {
143143
flex-direction: row;
144144
}
145145

@@ -150,7 +150,7 @@
150150
* Label is on the right of the checkbox in LTR and
151151
* on the left in RTL.
152152
*/
153-
:host(.checkbox-label-placement-end) .checkbox-wrapper {
153+
:host(.checkbox-label-placement-end) .checkbox-wrapper {
154154
flex-direction: row-reverse;
155155
}
156156

@@ -175,7 +175,7 @@
175175
/**
176176
* Label is on top of the checkbox.
177177
*/
178-
:host(.checkbox-label-placement-stacked) .checkbox-wrapper {
178+
:host(.checkbox-label-placement-stacked) .checkbox-wrapper {
179179
flex-direction: column;
180180

181181
text-align: center;
@@ -244,7 +244,7 @@
244244
opacity: 1;
245245
}
246246

247-
// Checkbox Disabled
247+
// Disabled Checkbox
248248
// --------------------------------------------------
249249
:host(.checkbox-disabled) {
250250
pointer-events: none;

core/src/components/checkbox/checkbox.native.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
@include margin(null, null, $checkbox-item-label-margin-bottom, null);
3939
}
4040

41-
4241
input {
4342
@include visually-hidden();
4443
}

0 commit comments

Comments
 (0)