Skip to content

Commit

Permalink
chore: fixed stylings
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayitzme committed Nov 27, 2024
1 parent bcf298c commit 0241bb8
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 38 deletions.
19 changes: 9 additions & 10 deletions src/components/POS/Classic/ItemsGrid.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
<template>
<div
class="
flex flex-col
gap-4
p-2
py-2
w-full
flex flex-col
items-center
px-2
rounded-t-md
text-black
w-full
overflow-y-auto
custom-scroll custom-scroll-thumb2
"
Expand All @@ -17,21 +16,21 @@
<!-- Items Grid -->
<div
class="
gap-2
w-full
grid grid-cols-1
md:grid-cols-2
lg:grid-cols-3
xl:grid-cols-4
gap-2
w-full
"
>
<div
class="
border border-gray-300
dark:border-gray-800
p-1
border border-gray-300
flex flex-col
text-sm text-center
dark:border-gray-800
"
@click="handleChange(item as POSItem)"
v-for="item in items as POSItem[]"
Expand All @@ -52,11 +51,11 @@
rounded-lg
w-full
h-full
flex
bg-gray-100
dark:bg-gray-850
flex
justify-center
items-center
dark:bg-gray-850
"
>
<p class="text-4xl font-semibold text-gray-400 select-none">
Expand Down
20 changes: 10 additions & 10 deletions src/components/POS/Modern/ModernPOSItemsGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
<!-- Items Grid -->
<div
class="
grid grid-cols-1
gap-2
w-full
gap-2
w-full
grid grid-cols-1
sm:grid-cols-2
md:grid-cols-4
lg:grid-cols-6
Expand All @@ -29,9 +29,9 @@
>
<div
class="
p-1
border border-gray-300
dark:border-gray-800
p-1
flex flex-col
text-sm text-center
"
Expand All @@ -52,13 +52,13 @@
v-else
class="
rounded-lg
bg-gray-100
w-full
h-full
bg-gray-100
dark:bg-gray-850
flex
justify-center
items-center
dark:bg-gray-850
"
>
<p class="text-4xl font-semibold text-gray-400 select-none">
Expand All @@ -67,12 +67,12 @@
</div>
<p
class="
w-6
h-6
top-1
right-1
absolute
top-1
right-1
rounded-full
w-6
h-6
flex
justify-center
items-center
Expand Down
36 changes: 18 additions & 18 deletions src/components/POS/Modern/ModernPOSItemsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<Row
:ratio="ratio"
class="
border
flex
items-center
mt-2
px-2
mt-2
px-2
w-full
flex
items-center
border
rounded-t-md
text-gray-600
dark:border-gray-800 dark:text-gray-400
w-full
"
>
<div
Expand All @@ -36,16 +36,16 @@
:ratio="ratio"
:border="true"
class="
px-2
w-full
border-b border-x
dark:border-gray-800
flex
items-center
justify-center
group
h-row-mid
px-2
w-full
hover:bg-gray-25
dark:border-gray-800
dark:bg-gray-890
"
@click="handleChange(row)"
Expand All @@ -68,14 +68,14 @@
<Row
:ratio="ratio"
class="
border
flex
items-center
mt-2
px-2
rounded-t-md
mt-2
px-2
w-full
flex
items-center
border
rounded-t-md
text-gray-600
w-full
dark:border-gray-800 dark:text-gray-400
"
>
Expand All @@ -96,14 +96,14 @@
:ratio="ratio"
:border="true"
class="
px-2
w-full
border-b border-x
flex
items-center
justify-center
group
h-row-mid
px-2
w-full
hover:bg-gray-25
dark:bg-gray-890 dark:border-gray-800
"
Expand Down

0 comments on commit 0241bb8

Please sign in to comment.