Skip to content
This repository was archived by the owner on May 16, 2026. It is now read-only.

Commit 311d3ed

Browse files
committed
תיקון תצוגת התראות במובייל
1 parent bfe4e1d commit 311d3ed

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/components/SnackBar.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<template v-for="snack in snacksStore.snacks" :key="snack.id">
3-
<v-snackbar v-model="snack.show" v-bind="snack" position="fixed">
3+
<v-snackbar v-model="snack.show" v-bind="snack" :location="xs ? 'top' : 'bottom'" :position="xsAndDown ? 'absolute' : 'fixed'">
44
<div :style="snack.ltr ? 'direction: ltr !important;' : ''">
55
{{ snack.text }}
66
</div>
@@ -15,5 +15,8 @@
1515

1616
<script setup>
1717
import { useSnacksStore } from '@/stores/snacks';
18+
import { useDisplay } from 'vuetify';
19+
20+
const { xs } = useDisplay();
1821
const snacksStore = useSnacksStore();
1922
</script>

src/components/SubscriptionsList.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<v-spacer></v-spacer>
1111
<v-col cols="10" justify="center">
1212
<v-card>
13-
<v-card-title class="text-h5">אין פידים מתאימים להצגה</v-card-title>
13+
<v-card-title :class="xs ? 'text-h6 text-center' : 'text-h5'">אין פידים מתאימים להצגה</v-card-title>
1414
<v-card-text>
1515
ניתן להוסיף פידים חדשים באמצעות לחיצה על הכפתור "הוסף מקור חדש" בצד שמאל
1616
</v-card-text>
@@ -25,9 +25,11 @@
2525
<script setup>
2626
import { useFeedsStore } from '@/stores/feeds'
2727
import { computed, toRefs } from 'vue'
28+
import { useDisplay } from 'vuetify'
2829
import FeedCard from '@/components/FeedCard.vue'
2930
3031
const feedStore = useFeedsStore()
32+
const { xs } = useDisplay()
3133
3234
const $props = defineProps({
3335
search: {

0 commit comments

Comments
 (0)