Skip to content

Commit cd064e2

Browse files
Marcin Maciaszczykk8s-ci-robot
Marcin Maciaszczyk
authored andcommitted
Update style formatting script (#3459)
1 parent 669ac3e commit cd064e2

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"fix:backend": "goimports -w src/app/backend",
4444
"fix:frontend": "concurrently \"npm run fix:frontend:ts\" \"npm run fix:frontend:scss\" \"npm run fix:frontend:html\"",
4545
"fix:frontend:ts": "gts fix",
46-
"fix:frontend:scss": "./aio/scripts/format.sh --styles",
46+
"fix:frontend:scss": "scssfmt -r 'src/**/*.scss'",
4747
"fix:frontend:html": "./aio/scripts/format.sh --html",
4848
"fix:license": "gulp update-license-headers",
4949
"clean": "rm -rf .go_workspace .tmp coverage dist npm-debug.log",
@@ -59,6 +59,10 @@
5959
"src/**/*.ts": [
6060
"gts fix",
6161
"git add"
62+
],
63+
"src/**/*.scss": [
64+
"scssfmt",
65+
"git add"
6266
]
6367
},
6468
"dependencies": {

src/app/frontend_old/components/graph/graphcard.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
kd-graph-card {
1818
flex: 1;
1919

20-
&>kd-content-card {
20+
& > kd-content-card {
2121
margin-bottom: 0;
2222
}
2323

2424
&:last-child {
25-
&>kd-content-card {
25+
& > kd-content-card {
2626
margin-left: 0;
2727
}
2828
}

0 commit comments

Comments
 (0)