Skip to content

Commit

Permalink
Small frontend fixes (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
Roene-JustBetter authored Dec 17, 2024
1 parent cf1002d commit 3f97927
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/views/listing/partials/stats.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="flex-wrap flex-1 gap-1 text-base flex justify-between" slot="renderResultStats" slot-scope="{ numberOfResults, numberOfPages, currentPage, time }">
<div class="flex-wrap flex-1 gap-1 text-sm flex justify-between sm:text-base" slot="renderResultStats" slot-scope="{ numberOfResults, numberOfPages, currentPage, time }">
@{{ numberOfResults }} @lang('products')
<template v-if="numberOfPages > 1">
(@lang('page'): @{{ currentPage + 1 }}/@{{ numberOfPages }})
Expand Down
3 changes: 2 additions & 1 deletion resources/views/listing/products.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@php $dropdownClasses = '!h-auto !border-solid !border !border-default !rounded !py-2 !ring-0 focus:!border-muted !text-sm !text !outline-none ' @endphp
@php $dropdownClasses = '!h-auto !py-3 !px-5 !border-solid !border !border-default !rounded-md !py-2 !ring-0 focus:!border-muted !text-sm !text !outline-none max-md:w-full' @endphp
<reactive-list
id="products"
class="*:flex-wrap *:max-sm:gap-y-3 *:max-md:justify-end"
component-id="products"
data-field="name.keyword"
list-class="flex flex-wrap mt-5 -mx-4 sm:-mx-1 overflow-hidden"
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ export default {
},
zIndex: {
'header': '100',
'header-dropdown': '10',
'header-autocomplete-overlay': '10',
'header-autocomplete': '20',
'header-dropdown': '30',
'header-minicart': '30',
'header-autocomplete-button': '30',

Expand Down

0 comments on commit 3f97927

Please sign in to comment.