Unfortunately, optional parameters need to be optional in both .<filename>_vars() and .<filename>_main()

This commit is contained in:
Caleb James DeLisle
2018-07-18 12:58:24 +02:00
parent f1642fca89
commit a2e096b6f3
5 changed files with 11 additions and 8 deletions

View File

@@ -5,7 +5,7 @@
@avatar-width: @width;
@avatar-font-size: @width / 1.2;
}
.avatar_main(@width) {
.avatar_main(@width: 30px) {
--LessLoader_require: LessLoader_currentFile();
.avatar_vars(@width);
--avatar-width: @avatar-width;