mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-30 15:17:43 -05:00
Make analyzer left column sticky
This commit is contained in:
@@ -41,7 +41,7 @@ export default function BuildAnalyzerPage() {
|
||||
return (
|
||||
<Main>
|
||||
<div className="analyzer__container">
|
||||
<div className="stack lg items-center">
|
||||
<div className="analyzer__left-column">
|
||||
<div className="stack sm items-center w-full">
|
||||
<div className="w-full">
|
||||
<WeaponCombobox
|
||||
|
||||
@@ -4,6 +4,16 @@
|
||||
grid-template-columns: 1fr 2fr;
|
||||
}
|
||||
|
||||
.analyzer__left-column {
|
||||
position: sticky;
|
||||
top: 2rem;
|
||||
display: flex;
|
||||
height: max-content;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: var(--s-8);
|
||||
}
|
||||
|
||||
.analyzer__weapon-info-badges {
|
||||
display: grid;
|
||||
color: var(--text-lighter);
|
||||
|
||||
Reference in New Issue
Block a user