diff --git a/src/components/AllRequestedWines.vue b/src/components/AllRequestedWines.vue index f8415fb..1249fa0 100644 --- a/src/components/AllRequestedWines.vue +++ b/src/components/AllRequestedWines.vue @@ -39,14 +39,42 @@ export default { \ No newline at end of file diff --git a/src/styles/media-queries.scss b/src/styles/media-queries.scss index 0f7f91a..021102c 100644 --- a/src/styles/media-queries.scss +++ b/src/styles/media-queries.scss @@ -16,3 +16,24 @@ $mobile-width: 768px; @content; } } + +$sm: 320; +$md: 756; +$lg: 1200; +$xl: 1704; + +$minMobileWidth: $sm + 0px; +$maxMobileWidth: $md - 1px; +$minTabletWidth: $md + 0px; +$maxTabletWidth: $lg - 1px; +$minDesktopWidth: $lg + 0px; +$maxDesktopWidth: $xl - 1px; +$minWidescreenWidth: $xl + 0px; + +$mobileOnly: "only screen and ( max-width: #{$maxMobileWidth} )"; +$tabletOnly: "only screen and( min-width: #{$minTabletWidth} ) and ( max-width: #{$maxTabletWidth} )"; +$desktopOnly: "only screen and ( min-width: #{$minDesktopWidth} ) and ( max-width: #{$maxDesktopWidth} )"; +$widescreenOnly: "only screen and ( min-width: #{$minWidescreenWidth} )"; +$tabletAndUp: "only screen and ( min-width: #{$minTabletWidth} )"; +$desktopAndUp: "only screen and ( min-width: #{$minDesktopWidth} )"; +$widescreenAndUp: "only screen and ( min-width: #{$minWidescreenWidth} )"; \ No newline at end of file diff --git a/src/ui/RequestedWineCard.vue b/src/ui/RequestedWineCard.vue index 6475c7f..44e362c 100644 --- a/src/ui/RequestedWineCard.vue +++ b/src/ui/RequestedWineCard.vue @@ -66,6 +66,62 @@ export default { \ No newline at end of file