Skip to content

Commit

Permalink
feat(core): move padding from LogoButton to StudioLogo
Browse files Browse the repository at this point in the history
  • Loading branch information
hermanwikner committed Dec 21, 2022
1 parent 8d74ace commit d774bc6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Expand Up @@ -19,7 +19,7 @@ export function LogoButton(props: LogoButtonProps) {
href={href}
mode="bleed"
onClick={onClick}
padding={3}
padding={0}
>
{children}
</Button>
Expand Down
@@ -1,10 +1,14 @@
import {Text} from '@sanity/ui'
import {Box, Text} from '@sanity/ui'
import React from 'react'
import {LogoProps} from '../../../config'

/** @beta */
export function StudioLogo(props: LogoProps) {
const {title} = props

return <Text weight="bold">{title}</Text>
return (
<Box padding={3}>
<Text weight="bold">{title}</Text>
</Box>
)
}

0 comments on commit d774bc6

Please sign in to comment.