Skip to content

Commit

Permalink
improved spacing of navbar items
Browse files Browse the repository at this point in the history
  • Loading branch information
ttomasz committed Sep 17, 2023
1 parent 6dfc2c5 commit 40b64fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/languageSwitcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function LanguageSwitcher() {

export function LanguageSwitcherMobile() {
return (
<Navbar.Item desktop={{ display: "hidden" }}>
<Navbar.Item px={1} desktop={{ display: "hidden" }}>
<div className="select">
<select
id="language-switcher"
Expand Down
4 changes: 2 additions & 2 deletions src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const SiteNavbar: FC<SiteNavbarProps> = ({ toggleSidebarShown }) => {
return (
<Navbar color="success" className="has-background-green">
<Navbar.Brand>
<Navbar.Item renderAs="a" href="/" pr={1}>
<Navbar.Item renderAs="a" href="/" pr={1} pl={1}>
<svg className="navbarLogo" viewBox="0 0 60 60" role="presentation">
{/* TODO: extract svg logo */}
{/* eslint-disable-next-line max-len */}
Expand All @@ -44,7 +44,7 @@ const SiteNavbar: FC<SiteNavbarProps> = ({ toggleSidebarShown }) => {
</a>
</span>
</Navbar.Item>
<Navbar.Item className="is-hidden-touch" renderAs="div" pl={0} pr={0}>
<Navbar.Item className="is-hidden-touch" renderAs="div" pl={1} pr={1}>
<span className="has-text-weight-light is-size-6 pr-1">
{t("navbar.hosted_by")}
{" "}
Expand Down

0 comments on commit 40b64fd

Please sign in to comment.