This commit is contained in:
syuilo
2020-11-28 12:15:22 +09:00
parent f4e02d4a4c
commit ab50d5ef20
5 changed files with 45 additions and 77 deletions

View File

@ -74,29 +74,29 @@ export default defineComponent({
});
</script>
<style lang="scss" scoped vars="{ height }">
<style lang="scss" scoped>
.fdidabkb {
text-align: center;
> .back {
height: var(--height);
width: var(--height);
height: v-bind(height);
width: v-bind(height);
}
> .action {
height: var(--height);
width: var(--height);
height: v-bind(height);
width: v-bind(height);
}
> .titleContainer {
width: calc(100% - (var(--height) * 2));
width: calc(100% - (v-bind(height) * 2));
> .title {
height: var(--height);
height: v-bind(height);
> .avatar {
$size: 32px;
margin: calc((var(--height) - #{$size}) / 2) 8px calc((var(--height) - #{$size}) / 2) 0;
margin: calc((v-bind(height) - #{$size}) / 2) 8px calc((v-bind(height) - #{$size}) / 2) 0;
pointer-events: none;
}
}