fix main dropdown styles
This commit is contained in:
@@ -844,3 +844,21 @@
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.frameSelect {
|
||||||
|
align-items: flex-start;
|
||||||
|
background-color: #aaa7a733;
|
||||||
|
border-radius: 60px;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 10px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.divSelect {
|
||||||
|
align-items: center;
|
||||||
|
align-self: stretch;
|
||||||
|
display: flex;
|
||||||
|
flex: 0 0 auto;
|
||||||
|
gap: 4px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
@@ -97,21 +97,27 @@ function MenuPage() {
|
|||||||
className={`${styles.headerFloatingBtn} ${styles.orderTypeSelectContainer} order-type-select-container`}
|
className={`${styles.headerFloatingBtn} ${styles.orderTypeSelectContainer} order-type-select-container`}
|
||||||
>
|
>
|
||||||
{orderType !== OrderType.Redeem && (
|
{orderType !== OrderType.Redeem && (
|
||||||
<Select
|
<div className={styles.frameSelect}>
|
||||||
value={orderType}
|
<div className={styles.divSelect}>
|
||||||
options={orderTypeOptions}
|
<Select
|
||||||
open={false}
|
value={orderType}
|
||||||
onOpenChange={() => false}
|
options={orderTypeOptions}
|
||||||
onClick={(e) => {
|
open={false}
|
||||||
e.stopPropagation();
|
onOpenChange={() => false}
|
||||||
setIsOrderTypesOpen(true);
|
onClick={(e) => {
|
||||||
}}
|
e.stopPropagation();
|
||||||
variant="borderless"
|
setIsOrderTypesOpen(true);
|
||||||
size="small"
|
}}
|
||||||
className={styles.orderTypeSelect}
|
variant="borderless"
|
||||||
classNames={{ popup: { root: "order-type-select-dropdown" } }}
|
size="small"
|
||||||
listHeight={150}
|
className={styles.orderTypeSelect}
|
||||||
/>
|
classNames={{
|
||||||
|
popup: { root: "order-type-select-dropdown" },
|
||||||
|
}}
|
||||||
|
listHeight={150}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
{orderType === OrderType.Redeem && (
|
{orderType === OrderType.Redeem && (
|
||||||
<div className={styles.frame}>
|
<div className={styles.frame}>
|
||||||
|
|||||||
Reference in New Issue
Block a user