mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-05 20:56:13 -05:00
Remove some vars
This commit is contained in:
parent
eb56039688
commit
a43f06977f
|
|
@ -47,8 +47,6 @@ export function GearSelect<Clearable extends boolean | undefined = undefined>({
|
|||
search={{
|
||||
placeholder: t("common:forms.gearSearch.search.placeholder"),
|
||||
}}
|
||||
className={styles.selectWidthWider}
|
||||
popoverClassName={styles.selectWidthWider}
|
||||
selectedKey={value}
|
||||
defaultSelectedKey={initialValue}
|
||||
onSelectionChange={(value) => onChange?.(value as any)}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,3 @@
|
|||
.selectWidthWider {
|
||||
--select-width: 250px;
|
||||
}
|
||||
|
||||
.item {
|
||||
display: flex;
|
||||
gap: var(--s-2);
|
||||
|
|
|
|||
|
|
@ -48,8 +48,6 @@ export function StageSelect<Clearable extends boolean | undefined = undefined>({
|
|||
search={{
|
||||
placeholder: t("common:forms.stageSearch.search.placeholder"),
|
||||
}}
|
||||
className={styles.selectWidthWider}
|
||||
popoverClassName={styles.selectWidthWider}
|
||||
selectedKey={isControlled ? value : undefined}
|
||||
defaultSelectedKey={isControlled ? undefined : (initialValue as Key)}
|
||||
onSelectionChange={handleOnChange}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,3 @@
|
|||
.selectWidthWider {
|
||||
--select-width: 250px;
|
||||
}
|
||||
|
||||
.item {
|
||||
display: flex;
|
||||
gap: var(--s-2);
|
||||
|
|
|
|||
|
|
@ -103,8 +103,6 @@ export function WeaponSelect<
|
|||
search={{
|
||||
placeholder: t("common:forms.weaponSearch.search.placeholder"),
|
||||
}}
|
||||
className={styles.selectWidthWider}
|
||||
popoverClassName={styles.selectWidthWider}
|
||||
searchInputValue={filterValue}
|
||||
onSearchInputChange={setFilterValue}
|
||||
selectedKey={isControlled ? keyify(value) : undefined}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
font-size: var(--fonts-xl);
|
||||
border-bottom: 2px solid var(--color-bg-high);
|
||||
margin-bottom: var(--s-4);
|
||||
scroll-margin-top: var(--sticky-top);
|
||||
}
|
||||
|
||||
.componentRow {
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@
|
|||
|
||||
.chatContainer {
|
||||
align-self: flex-start;
|
||||
top: var(--sticky-top);
|
||||
top: calc(var(--layout-nav-height) + var(--s-3));
|
||||
position: sticky;
|
||||
width: 100%;
|
||||
}
|
||||
|
|
@ -87,7 +87,7 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
align-self: flex-start;
|
||||
top: var(--sticky-top);
|
||||
top: calc(var(--layout-nav-height) + var(--s-3));
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
}
|
||||
|
||||
.chatContainer {
|
||||
top: var(--sticky-top);
|
||||
top: calc(var(--layout-nav-height) + var(--s-3));
|
||||
position: sticky;
|
||||
width: 100%;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -196,13 +196,7 @@ html {
|
|||
--s-40: 10rem;
|
||||
--s-48: 12rem;
|
||||
|
||||
--input-width-extra-small: 10rem;
|
||||
--input-width-small: 12rem;
|
||||
--input-width-medium: 18rem;
|
||||
|
||||
--label-margin: var(--s-1);
|
||||
--select-width: 225px;
|
||||
--sticky-top: 60px;
|
||||
}
|
||||
|
||||
/* xs: "(min-width: 480px)",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user