Skip to content

Commit

Permalink
Prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anemne committed Aug 30, 2024
1 parent 82998b2 commit 8c43204
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions studio/components/CustomToolMenu.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { ToolMenuProps } from 'sanity';
import { Inline } from '@sanity/ui';
import { LinkButton } from './linkButton/LinkButton';
import { ToolMenuProps } from "sanity";
import { Inline } from "@sanity/ui";
import { LinkButton } from "./linkButton/LinkButton";

export default function CustomToolMenu(props: ToolMenuProps) {
return (
<Inline>
{props.renderDefault(props)}
<LinkButton />
</Inline>
)
}
);
}
10 changes: 5 additions & 5 deletions studio/components/linkButton/linkButton.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
list-style: none;
text-decoration: none;
white-space: nowrap;
border-radius: 3px ;
border-radius: 3px;
padding: 0.2rem 0.5rem;
}

.wrapper:hover {
background: #F5F5F7;
background: #f5f5f7;
}

.text {
display: flex;
align-items: center;
text-decoration: block;
text-decoration: block;
font-weight: 500;
color: #323545;
color: #323545;
letter-spacing: 0;
font-size: 13px;
gap: 0.2rem;
line-height: 19px;
}
}
2 changes: 1 addition & 1 deletion studio/sanity.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default defineConfig({
studio: {
components: {
toolMenu: CustomToolMenu,
}
},
},
plugins: [
structureTool({
Expand Down

0 comments on commit 8c43204

Please sign in to comment.