Skip to content

Commit

Permalink
Adding calc() exception
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed May 8, 2024
1 parent a79c104 commit 55302b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ val checkMapFileContents = taskKey[Unit]("check that map contents are correct")

checkMapFileContents := {
val contents = IO.read((Assets / WebKeys.public).value / "css" / "main.min.css.map")
val expectedContents = """{"version":3,"sources":["main.less"],"names":[],"mappings":"AAAA,GACE","file":"main.min.css"}"""
val expectedContents = """{"version":3,"sources":["main.less"],"names":[],"mappings":"AAGA,GACE,UAAA,CACA,IAAK","file":"main.min.css"}"""

if (contents != expectedContents) {
sys.error(s"Unexpected contents: $contents, \nexpected: $expectedContents")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
@li-vspace: 1.7rem;
@icon-size: 2rem;

h1 {
color: blue
}
color: blue;
top: calc(-@li-vspace + @icon-size / 2 - 5px);
}

0 comments on commit 55302b3

Please sign in to comment.