diff options
author | Joas Schilling <coding@schilljs.com> | 2021-06-07 17:36:41 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-06-07 17:36:41 +0300 |
commit | 4ba816c16ddd0e085eac48b5e031355a8004774d (patch) | |
tree | 635f8ba6932372d8e6bccc33fad04a8f6dbb1a87 /src/components/NewMessageForm | |
parent | 30c0529b59ddf78372b075a501654067200dbea2 (diff) |
FIx "Using / for division is deprecated"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/components/NewMessageForm')
-rw-r--r-- | src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue b/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue index e4d05dc06..a0d11281d 100644 --- a/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue +++ b/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue @@ -400,6 +400,8 @@ export default { </script> <style lang="scss" scoped> +@use 'sass:math'; + @import '../../../assets/variables'; .atwho-wrapper { @@ -421,7 +423,7 @@ div[contenteditable] { font-size: $chat-font-size; line-height: $chat-line-height; min-height: $clickable-area; - border-radius: $clickable-area / 2; + border-radius: math.div($clickable-area, 2); border: 1px solid var(--color-border-dark); &:hover, &:focus, |