File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ const router = useRouter();
53
53
const dialogState = ref (false );
54
54
const archNameBrackets = props .archName .match (/ ^ (. *? )([((] . * [))] )? $ / );
55
55
56
+ // Adding "+ 'pt'" in v-bind() won't work correctly in SSG
57
+ const firstLineFontSize = props .firstLineFontSize + ' pt' ;
58
+ const secondLineFontSize = props .secondLineFontSize + ' pt' ;
59
+
56
60
const dialogTitle = computed (
57
61
() => ` ${ textValue .text1 }${ textValue .osName } - ${ props .isaInfo ? .label }`
58
62
);
@@ -109,12 +113,12 @@ const onClick = () => {
109
113
110
114
<style scoped>
111
115
.first-line-p {
112
- font-size: v-bind(firstLineFontSize + 'pt' );
116
+ font-size: v-bind(firstLineFontSize);
113
117
font-weight: 450;
114
118
}
115
119
116
120
.second-line-p {
117
- font-size: v-bind(secondLineFontSize + 'pt' );
121
+ font-size: v-bind(secondLineFontSize);
118
122
font-weight: 400;
119
123
}
120
124
You can’t perform that action at this time.
0 commit comments