Signed-off-by: marco <marcoambrosini@pm.me>
This commit is contained in:
marco 2022-01-18 10:25:31 +01:00
Родитель 37f960b69c
Коммит cc85184842
3 изменённых файлов: 9 добавлений и 5 удалений

Просмотреть файл

@ -143,7 +143,6 @@ export default {
</script>
<style lang="scss" scoped>
@use 'sass:math';
$icon-size: 44px;
.conversation-icon {
@ -155,7 +154,7 @@ $icon-size: 44px;
width: $icon-size;
height: $icon-size;
line-height: $icon-size;
font-size: math.div($icon-size, 2);
font-size: calc($icon-size / 2);
background-color: var(--color-background-darker);
&.icon-changelog {
@ -167,7 +166,7 @@ $icon-size: 44px;
&.icon-password,
&.icon-file,
&.icon-mail {
background-size: math.div($icon-size, 2);
background-size: calc($icon-size / 2);
}
}

Просмотреть файл

@ -409,7 +409,6 @@ export default {
</script>
<style lang="scss" scoped>
@use 'sass:math';
@import '../../../assets/variables';
.atwho-wrapper {
@ -431,7 +430,7 @@ div[contenteditable] {
font-size: $chat-font-size;
line-height: $chat-line-height;
min-height: $clickable-area;
border-radius: math.div($clickable-area, 2);
border-radius: calc($clickable-area / 2);
border: 1px solid var(--color-border-dark);
max-height: 180px;
overflow-y: auto;

Просмотреть файл

@ -2,4 +2,10 @@ const stylelintConfig = require('@nextcloud/stylelint-config')
stylelintConfig.ignoreFiles = ['css/At.scss']
stylelintConfig.rules['at-rule-no-unknown'] = [
true, {
ignoreAtRules: ['include', 'mixin', 'use'],
},
]
module.exports = stylelintConfig