Skip to content

Commit

Permalink
Fix button sizing issue on resizes (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik authored Dec 9, 2023
1 parent ed5792a commit bb8608e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 25 deletions.
12 changes: 1 addition & 11 deletions ui/app/mirrors/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,7 @@ export default async function Mirrors() {
<Header
variant='title2'
slot={
<Button
as={Link}
style={{
width: '10%',
height: '2rem',
fontSize: 17,
boxShadow: '0px 2px 4px rgba(0,0,0,0.2)',
}}
href={'/mirrors/create'}
variant='normalSolid'
>
<Button as={Link} href={'/mirrors/create'} variant='normalSolid'>
<div
style={{
display: 'flex',
Expand Down
16 changes: 2 additions & 14 deletions ui/app/peers/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,7 @@ export default async function Peers() {
<Header
variant='title2'
slot={
<Button
as={Link}
style={{
width: '10%',
height: '2rem',
fontSize: 17,
boxShadow: '0px 2px 4px rgba(0,0,0,0.2)',
}}
href={'/peers/create'}
variant='normalSolid'
>
<Button as={Link} href={'/peers/create'} variant='normalSolid'>
<div
style={{
display: 'flex',
Expand All @@ -42,9 +32,7 @@ export default async function Peers() {
}}
>
<Icon name='add' />
<Label style={{ marginLeft: '0.5rem', fontSize: 15 }}>
New peer
</Label>
<Label>New peer</Label>
</div>
</Button>
}
Expand Down

0 comments on commit bb8608e

Please sign in to comment.