fix: update sass and options

This commit is contained in:
FairyEver
2021-07-20 22:05:22 +08:00
parent 18a74c2cd6
commit ba795d0887
4 changed files with 3423 additions and 3140 deletions

View File

@@ -46,12 +46,14 @@ export default {
</script>
<style lang="scss" scoped>
@use 'sass:math';
.d2-source {
$borderRadius: 4px;
$paddingLR: 15px;
$paddingTB: 7px;
$fontSize: 12px;
$rightOuter: $paddingLR / 2;
$rightOuter: math.div($paddingLR, 2);
opacity: 0;
position: fixed;
z-index: 9999;