Fix correct syntax of calc function in less

This commit is contained in:
bjarnef
2016-07-27 10:31:18 +02:00
parent 0fe24a45ff
commit ba6736dbb3
2 changed files with 2 additions and 2 deletions

View File

@@ -120,7 +120,7 @@ body {
@media (max-width: 500px) {
#search-form .form-search {
width: ~"calc(100% - 80px)"
width: ~"(calc(~'100%' - ~'80px'))";
}
}

View File

@@ -111,7 +111,7 @@ ul.sections li.help {
bottom: 0;
left: 0;
display: block;
width: ~"calc(100% - 5px)"; //subtract 4px orange border + 1px border-right for sections
width: ~"(calc(~'100%' - ~'5px'))"; //subtract 4px orange border + 1px border-right for sections
}
ul.sections li.help a {