style : hide profile picture when on a mobile

This commit is contained in:
oat 2023-12-12 13:58:45 +07:00
parent f0346901df
commit 87242a3168

View file

@ -12,7 +12,7 @@ const name = ref<string>(getUsername())
id="app-toolbar-title"
>
<div class="col">
<q-avatar class="q-mt-xs">
<q-avatar class="q-mt-xs hideprofile">
<img src="../assets/profile.png" />
</q-avatar>
</div>
@ -52,6 +52,12 @@ const name = ref<string>(getUsername())
</template>
<style lang="scss" scoped>
@media only screen and (max-width: 450px) {
.hideprofile {
display: none;
}
}
.cursor {
cursor: pointer;
}