Skip to content

Commit 2d85643

Browse files
authored
Merge pull request #68 from LabSyncro/feat/auth-with-hmi
chore(UI): responsive UI
2 parents 1d2bab2 + ed41660 commit 2d85643

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

layouts/qr.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
></div>
1212
</div>
1313

14-
<div class="relative z-10 w-full">
14+
<div class="relative z-10 w-full h-screen md:h-auto">
1515
<div class="container mx-auto max-w-lg mb-6">
1616
<div class="flex items-center justify-center gap-2 text-primary-darker">
1717
<div class="h-8 w-8">

pages/qr.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function shareQR() {
116116
</script>
117117

118118
<template>
119-
<div class="container mx-auto md:max-w-xl">
119+
<div class="md:container mx-auto md:max-w-xl">
120120
<Card class="w-full overflow-hidden backdrop-blur-sm bg-white/90 shadow-lg">
121121
<CardHeader class="pb-0">
122122
<div class="flex items-center justify-center gap-2">
@@ -138,7 +138,7 @@ function shareQR() {
138138
>
139139
<div
140140
:key="qrDataUrl"
141-
class="relative flex items-center justify-center bg-gradient-to-br from-primary/5 to-primary-lighter/20 rounded-lg p-4 border border-primary/20 w-[500px] h-[500px]"
141+
class="relative flex items-center justify-center bg-gradient-to-br from-primary/5 to-primary-lighter/20 rounded-lg p-4 border border-primary/20 w-[300px] h-[300px] md:w-[500px] md:h-[500px]"
142142
>
143143
<div
144144
v-if="isLoading"

0 commit comments

Comments
 (0)