Skip to content

Commit

Permalink
Fix modal domain title line height
Browse files Browse the repository at this point in the history
  • Loading branch information
samchuk-vlad committed Sep 20, 2023
1 parent d244d9c commit da9a0b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/domains/index.module.sass
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ $font_size: 1.1rem
.ModalDomainTitle
margin-bottom: $space_huge
font-size: $font_big
line-height: 28.64px
line-height: 34.64px
font-weight: 600

.MenuModalDomainTitle
Expand Down
1 change: 1 addition & 0 deletions src/components/domains/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const DomainMarketSection = ({ promoCode }: DomainServerProps) => {
}

const [activeTab, setActiveTab] = useState(getTabKey('register'))

useEffect(() => {
const hash = window.location.hash.substring(1)
if ((tabs as unknown as string[]).includes(hash)) setActiveTab(hash as TabKey)
Expand Down

0 comments on commit da9a0b5

Please sign in to comment.