Skip to content

Commit f0ed86c

Browse files
author
Etienne Laurent
committed
fix stylelint errors and upgrade @apostrophecms/stylelint-no-mixed-decls
1 parent de57de8 commit f0ed86c

2 files changed

Lines changed: 19 additions & 9 deletions

File tree

.stylelintrc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
{
2-
"extends": "stylelint-config-apostrophe"
2+
"extends": "stylelint-config-apostrophe",
3+
"rules": {
4+
"@apostrophecms/stylelint-no-mixed-decls": [
5+
true,
6+
{
7+
"contain-nested": ["apos-transition"]
8+
}
9+
]
10+
}
311
}

modules/@apostrophecms/area/ui/apos/components/AposAreaExpandedMenu.vue

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -287,14 +287,16 @@ export default {
287287
.apos-operation {
288288
@include apos-transition();
289289
290-
box-sizing: border-box;
291-
width: 100%;
292-
height: 70px;
293-
border-radius: var(--a-border-radius);
294-
border: 1px solid var(--a-base-5);
295-
color: var(--a-text-primary);
296-
background-color: var(--a-base-9);
297-
cursor: pointer;
290+
& {
291+
box-sizing: border-box;
292+
width: 100%;
293+
height: 70px;
294+
border-radius: var(--a-border-radius);
295+
border: 1px solid var(--a-base-5);
296+
color: var(--a-text-primary);
297+
background-color: var(--a-base-9);
298+
cursor: pointer;
299+
}
298300
299301
&:hover {
300302
background-color: var(--a-base-8);

0 commit comments

Comments
 (0)