Skip to content

Commit ccd4358

Browse files
committed
closes #449 - converted $field-switch-height to 30px in calc() call
1 parent 6f0ecd3 commit ccd4358

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dist/vfg.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/fields/optional/fieldSwitch.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@
129129
}
130130
input:checked ~ .handle {
131131
left: $field-switch-width - ($field-switch-height - 1px);
132-
left: calc(100% - ($field-switch-height - 1px));
132+
// the 30px is the $field-switch-height, but it does not get parsed properly by the compiler
133+
left: calc(100% - (30px - 1px));
133134
box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
134135
}
135136

0 commit comments

Comments
 (0)