diff options
author | Louis Chemineau <louis@chmn.me> | 2021-12-02 00:46:01 +0300 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-08 12:11:58 +0300 |
commit | b312db382ddb58a51acbcda1158a09148c7732e2 (patch) | |
tree | e3bd35205890ad2efd23c81157b2c80b0ede407f /apps/comments/src | |
parent | b664aad7abdca5327684b1218ac78fa172f8acb3 (diff) |
Use new div method in scss
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/comments/src')
-rw-r--r-- | apps/comments/src/components/Comment.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/comments/src/components/Comment.vue b/apps/comments/src/components/Comment.vue index f306d2f023b..feeb32441cf 100644 --- a/apps/comments/src/components/Comment.vue +++ b/apps/comments/src/components/Comment.vue @@ -243,6 +243,8 @@ export default { </script> <style lang="scss" scoped> +@use "sass:math"; + $comment-padding: 10px; .comment { @@ -253,7 +255,7 @@ $comment-padding: 10px; display: flex; align-items: center; min-height: 44px; - padding: $comment-padding / 2 0; + padding: math.div($comment-padding, 2) 0; } &__author, |