Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions components/AGallery.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script setup lang="ts">
import { ref, computed } from "vue";
import AIcon from "./AIcon.vue";
import AButton from "./AButton.vue";
import { useWindowSize } from "@vueuse/core";
import { computed, ref } from "vue";
import { useBreakpoints } from "../stores/breakpoint";
import AButton from "./AButton.vue";
import AIcon from "./AIcon.vue";

const breakpoints = useBreakpoints();
const isMobile = breakpoints.smaller("md");
Expand Down Expand Up @@ -359,6 +359,7 @@ const mediasAndInspirations = computed((): string[] => {
width: var(--width);
overflow: hidden;
background: var(--a-white);
height: var(--height);

@media screen and (max-width: 767px) {
max-width: 100%;
Expand Down Expand Up @@ -417,6 +418,7 @@ const mediasAndInspirations = computed((): string[] => {
:slotted(div) {
height: 100%;
width: 100%;
object-fit: contain;

img {
height: 100%;
Expand Down