Skip to content

Commit

Permalink
jank elimination
Browse files Browse the repository at this point in the history
  • Loading branch information
hry-gh committed Jan 10, 2025
1 parent c61c9b1 commit 7d8f51a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
1 change: 0 additions & 1 deletion tgui/packages/tgui/interfaces/HairPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ export const HairPickerElement = (props: {
<Stack.Item
key={hair.name}
className={`Picker${active === hair.icon ? ' Active' : ''}`}
height="fit-content"
>
<Tooltip content={hair.name}>
<Box
Expand Down
15 changes: 10 additions & 5 deletions tgui/packages/tgui/styles/interfaces/HairPicker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@
margin-left: 6px;
}

.Picker.Active {
outline: 4px solid #8ac8ff;
}
.Picker {
&.Active {
outline: 4px solid #8ac8ff;
}

& > div {
background: #fff;
}

.Picker img {
background: white;
height: 66px;
margin-bottom: 6px;
}
}
}

0 comments on commit 7d8f51a

Please sign in to comment.