Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Improved mobile support #518

Merged
merged 1 commit into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ui/components/SectionTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function SectionTitle({
}: SectionTitleProps) {
return (
<div
className={`sticky top-20 flex h-auto flex-col-reverse items-center justify-between gap-3 bg-bg-default px-3 py-6 lg:flex-row lg:gap-6 lg:px-8 ${className}`}
className={`sticky top-14 flex h-auto flex-col-reverse items-center justify-between gap-3 bg-bg-default px-3 py-6 lg:top-20 lg:flex-row lg:gap-6 lg:px-8 ${className}`}
>
<div
className={`flex flex-col gap-2 ${
Expand Down
2 changes: 1 addition & 1 deletion src/ui/components/delegation/DelegateSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const DelegateSection = ({
<ProgressStepper step={1} />
</SectionTitle>
<div className=" flex flex-col gap-4 ">
<div className="sticky top-44 flex w-full flex-col items-center justify-between gap-4 bg-bg-default/80 px-3 py-3 backdrop-blur-md md:flex-row lg:px-8">
<div className="sticky top-52 flex w-full flex-col items-center justify-between gap-4 bg-bg-default/80 px-3 py-3 backdrop-blur-md md:flex-row lg:top-44 lg:px-8">
<div className="flex w-full flex-row items-center justify-between gap-4">
<Button
variant="ghost"
Expand Down
4 changes: 2 additions & 2 deletions src/ui/components/delegation/TrackSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export function TrackSelect({
<span className="px-3 font-unbounded text-h4">
Set up your delegation preferences
</span>
<p className="text-body">
<p className="px-4 text-body">
First, select the tracks you would like to delegate, then pick the
address you&apos;d like to delegate to.
</p>
Expand All @@ -309,7 +309,7 @@ export function TrackSelect({
<ProgressStepper step={0} />
</SectionTitle>
<div className="flex flex-col gap-2 lg:gap-4 ">
<div className="sticky top-44 mb-4 flex flex-row justify-between overflow-visible bg-bg-default/80 px-3 py-3 backdrop-blur-md lg:px-8">
<div className="sticky top-52 mb-4 flex flex-row justify-between overflow-visible bg-bg-default/80 px-3 py-3 backdrop-blur-md lg:top-44 lg:px-8">
<CheckBox
background
title={allTrackCheckboxTitle}
Expand Down