Skip to content

Commit b8d77dd

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

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

.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
@@ -289,14 +289,16 @@ export default {
289289
.apos-operation {
290290
@include apos-transition();
291291
292-
box-sizing: border-box;
293-
width: 100%;
294-
height: 70px;
295-
border-radius: var(--a-border-radius);
296-
border: 1px solid var(--a-base-5);
297-
color: var(--a-text-primary);
298-
background-color: var(--a-base-9);
299-
cursor: pointer;
292+
& {
293+
box-sizing: border-box;
294+
width: 100%;
295+
height: 70px;
296+
border-radius: var(--a-border-radius);
297+
border: 1px solid var(--a-base-5);
298+
color: var(--a-text-primary);
299+
background-color: var(--a-base-9);
300+
cursor: pointer;
301+
}
300302
301303
&:hover {
302304
background-color: var(--a-base-8);

0 commit comments

Comments
 (0)