Remove some vars

This commit is contained in:
hfcRed 2026-01-14 17:42:12 +01:00
parent eb56039688
commit a43f06977f
9 changed files with 3 additions and 24 deletions

View File

@ -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)}

View File

@ -1,7 +1,3 @@
.selectWidthWider {
--select-width: 250px;
}
.item {
display: flex;
gap: var(--s-2);

View File

@ -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}

View File

@ -1,7 +1,3 @@
.selectWidthWider {
--select-width: 250px;
}
.item {
display: flex;
gap: var(--s-2);

View File

@ -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}

View File

@ -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 {

View File

@ -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;
}

View File

@ -5,7 +5,7 @@
}
.chatContainer {
top: var(--sticky-top);
top: calc(var(--layout-nav-height) + var(--s-3));
position: sticky;
width: 100%;
}

View File

@ -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)",