change misc to clickable text instead of button effect

This commit is contained in:
7w1 committed 2026-05-08 15:06:08 -05:00
1 parent c38c779f7c
commit f50a31900e
2 files changed
+19 -2

No files matched your search

@@ -226,9 +226,9 @@ function UserExtendedSection({
() => (
<Box justifyContent="Center" grow="Yes">
<Button
variant="Secondary"
size="300"
fill="None"
size="300"
className={css.MiscDataToggleButton}
onClick={() => setShowMisc(!showMisc)}
after={miscDataIndex === -1 && <Icon size="50" src={Icons.ChevronBottom} />}
style={{
@@ -341,6 +341,7 @@ function UserExtendedSection({
<Button
size="300"
fill="None"
className={css.MiscDataToggleButton}
onClick={() =>
setMiscDataIndex(
miscDataIndex === 0 ? unknownFields.length - 1 : miscDataIndex - 1
@@ -356,6 +357,7 @@ function UserExtendedSection({
<Button
size="300"
fill="None"
className={css.MiscDataToggleButton}
onClick={() => setMiscDataIndex((miscDataIndex + 1) % unknownFields.length)}
style={{ color: textColor }}
>
@@ -101,6 +101,21 @@ export const UserHeroChipThemed = style({
transform: 'translateY(-1px)',
},
});
export const MiscDataToggleButton = style({
backgroundColor: 'transparent',
opacity: 0.75,
selectors: {
'&:hover': {
opacity: 1,
backgroundColor: 'transparent',
transform: 'none !important',
},
'&:active': {
transform: 'none !important',
},
},
});
export const UserHeroMenuItem = style({
borderStyle: 'hidden',
borderWidth: '1px',