Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

Update tax/fee list layout

Dave Earley3fb09eabf952
diff --git a/frontend/src/components/common/TaxAndFeeList/TaxAndFeeList.module.scss b/frontend/src/components/common/TaxAndFeeList/TaxAndFeeList.module.scss
index ecf98b77e..c5069fd5c 100644
--- a/frontend/src/components/common/TaxAndFeeList/TaxAndFeeList.module.scss
+++ b/frontend/src/components/common/TaxAndFeeList/TaxAndFeeList.module.scss
@@ -1,15 +1,15 @@
.taxes {
- display: flex;
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 20px;
- flex-wrap: wrap;
+ margin-top: 20px;
.taxBlock {
border: 2px solid var(--tk-color-gray-2);
border-radius: 5px;
display: flex;
flex-direction: column;
- width: 200px;
- max-width: 200px;
+ justify-content: space-between;
.taxName {
font-size: 1.2rem;
@@ -57,8 +57,6 @@
margin-bottom: var(--tk-spacing-sm);
padding: 10px;
}
-
-
}
}
diff --git a/frontend/src/components/common/TaxAndFeeList/index.tsx b/frontend/src/components/common/TaxAndFeeList/index.tsx
index e58447b2a..7a25c9d5c 100644
--- a/frontend/src/components/common/TaxAndFeeList/index.tsx
+++ b/frontend/src/components/common/TaxAndFeeList/index.tsx
@@ -111,4 +111,4 @@ export const TaxAndFeeList = () => {
<EditTaxOrFeeModal taxOrFee={selectedTaxOrFee} onClose={closeEditModal}/>}
</>
);
-};
\ No newline at end of file
+};