summaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2021-12-01 22:46:01 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-01-08 10:11:58 +0100
commitb312db382ddb58a51acbcda1158a09148c7732e2 (patch)
treee3bd35205890ad2efd23c81157b2c80b0ede407f /apps/comments
parentb664aad7abdca5327684b1218ac78fa172f8acb3 (diff)
downloadnextcloud-server-b312db382ddb58a51acbcda1158a09148c7732e2.tar.gz
nextcloud-server-b312db382ddb58a51acbcda1158a09148c7732e2.zip
Use new div method in scss
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/comments')
-rw-r--r--apps/comments/src/components/Comment.vue4
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,