Make the navigation content height static
This commit is contained in:
parent
68c9f0d8ec
commit
2fd78acccd
@ -86,7 +86,7 @@ const DiscordStatus = (): ReactElement | undefined => {
|
||||
dcdnUser={dcdnUser}
|
||||
/>
|
||||
|
||||
<div className="px-3.5 pt-1.5 py-2.5 flex flex-col">
|
||||
<div className="px-3 pt-1.5 py-2.5 flex flex-col">
|
||||
<div className="ml-[5.65rem] flex items-start">
|
||||
{dcdnUser.bio && <Bio dcdnUser={dcdnUser} />}
|
||||
<Badges dcdnUser={dcdnUser} />
|
||||
@ -226,7 +226,7 @@ const SpotifyActivity = ({ spotify }: { spotify: Spotify }): ReactElement => {
|
||||
<div className="flex flex-col text-sm">
|
||||
<Link href={trackUrl} target="_blank">
|
||||
<h1 className="font-bold leading-none">
|
||||
{truncateText(spotify.song, 24)}
|
||||
{truncateText(spotify.song, 22)}
|
||||
</h1>
|
||||
<h2 className="font-light opacity-70">
|
||||
{truncateText(spotify.artist.replace(";", ","), 26)}
|
||||
|
@ -38,7 +38,7 @@ const Navigation = (): ReactElement => {
|
||||
undefined
|
||||
);
|
||||
return (
|
||||
<div className="flex flex-col">
|
||||
<div className="h-[20rem] flex flex-col">
|
||||
{/* Selection Buttons */}
|
||||
<div className="flex gap-3 sm:gap-6 justify-center transition-all transform-gpu">
|
||||
{items.map((item, index) => {
|
||||
@ -64,7 +64,7 @@ const Navigation = (): ReactElement => {
|
||||
</div>
|
||||
|
||||
{/* Selected Content */}
|
||||
<BlurFade className="mt-5" delay={1.85} inView>
|
||||
<BlurFade className="mt-6" delay={1.95} inView>
|
||||
{selected ? (
|
||||
<BlurFade
|
||||
key={selected.name}
|
||||
|
Loading…
x
Reference in New Issue
Block a user