From d72a295aa568bb079fe57cdbd958048b9df19bd5 Mon Sep 17 00:00:00 2001 From: Egor Savkin Date: Fri, 18 Aug 2023 17:34:52 +0800 Subject: [PATCH] Adjust styles Signed-off-by: Egor Savkin --- sass/css/_shop.scss | 11 +++++++++-- static/js/shop.jsx | 2 +- static/js/shop_components.jsx | 3 +-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/sass/css/_shop.scss b/sass/css/_shop.scss index 1e04278..3e88ff8 100644 --- a/sass/css/_shop.scss +++ b/sass/css/_shop.scss @@ -468,10 +468,13 @@ button { top: 0; width: 100%; min-height: 70px; + max-height: 350px; + overflow-y: scroll; position: absolute; display: flex; - align-items: center; - justify-content: center; + align-items: start; + justify-content: left; + text-align: left; background-color: white; color: black; flex-direction: column; @@ -481,6 +484,10 @@ button { font-size: .65rem; margin: 0; } + + div { + margin: 0 0.2rem; + } } } diff --git a/static/js/shop.jsx b/static/js/shop.jsx index c4b88da..4a193a8 100644 --- a/static/js/shop.jsx +++ b/static/js/shop.jsx @@ -703,7 +703,7 @@ class ProductCartItem extends React.PureComponent { {options ? (
+
@@ -197,7 +197,6 @@ class SwitchLine extends Component { let key = this.props.id + this.props.outvar; return (
-