wip
This commit is contained in:
5
src/client/@types/vue.d.ts
vendored
5
src/client/@types/vue.d.ts
vendored
@ -1,4 +1,5 @@
|
||||
declare module '*.vue' {
|
||||
import Vue from 'vue';
|
||||
export default Vue;
|
||||
import { defineComponent } from 'vue';
|
||||
const component: ReturnType<typeof defineComponent>;
|
||||
export default component;
|
||||
}
|
||||
|
@ -150,10 +150,10 @@ export default defineComponent({
|
||||
});
|
||||
</script>
|
||||
|
||||
<style vars="{ transformOrigin }">
|
||||
<style>
|
||||
.modal-popup-content-enter-active, .modal-popup-content-leave-active,
|
||||
.modal-content-enter-from, .modal-content-leave-to {
|
||||
transform-origin: var(--transformOrigin);
|
||||
transform-origin: v-bind(transformOrigin);
|
||||
}
|
||||
</style>
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user