css compiler fixes (2)
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
# https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
|
# https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
|
||||||
|
|
||||||
name: Build Docker and Deploy
|
name: Build Docker and Deploy
|
||||||
run-name: Build & Deploy ${{ gitea.ref }} on ${{ gitea.actor }}
|
run-name: "[build+deploy]: ${{ github.event.head_commit.message }}"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ for (l, c) in reversed(ins):
|
|||||||
print('======== MORE ========')
|
print('======== MORE ========')
|
||||||
|
|
||||||
# fixes `calc(100%+5px)` stuff
|
# fixes `calc(100%+5px)` stuff
|
||||||
data = re.compile(r"calc\(([^)]+)\)").sub(lambda m: "calc(" + re.sub(r"(?<=[^\s])([\+\-\*/])(?=[^\s])", " \\1 ", m.group(1)) + ")", data)
|
data = re.compile(r"calc\(([^)]+)\)").sub(lambda m: "calc(" + re.sub(r"(?<=[%0-9])([\+\-\*/])(?=[%0-9])", " \\1 ", m.group(1)) + ")", data)
|
||||||
|
|
||||||
|
|
||||||
print('')
|
print('')
|
||||||
|
|||||||
Reference in New Issue
Block a user