Skip to content

Commit 6e4f94f

Browse files
committed
Fix cv layout
1 parent b79c368 commit 6e4f94f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

components/CvPreview.vue

+5-6
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ const { formSettings, isLoading } = useCvState()
1616
overflow-y-auto
1717
overflow-x-hidden
1818
p-6
19-
flex
20-
flex-col
21-
items-center
2219
"
2320
>
2421
<div
@@ -99,20 +96,22 @@ p {
9996
min-width: 21cm;
10097
max-width: 21cm;
10198
min-height: var(--height);
99+
margin: auto;
102100
word-break: break-word;
103101
transform: scale(0.4);
104-
transform-origin: top;
102+
transform-origin: calc(100vw - 11cm) 0;
105103
106104
@media screen and (min-width: 425px) {
107-
transform: scale(0.65);
105+
transform: scale(0.45);
108106
}
109107
110108
@media screen and (min-width: 768px) {
111-
transform: scale(0.9);
109+
transform: scale(0.8);
112110
}
113111
114112
@media screen and (min-width: 1024px) {
115113
transform: scale(0.7);
114+
transform-origin: top;
116115
}
117116
118117
&__pages {

0 commit comments

Comments
 (0)