Skip to content

Commit

Permalink
fix: chart tooltip width
Browse files Browse the repository at this point in the history
  • Loading branch information
nikaaru authored and RanGojo committed Feb 14, 2024
1 parent 63273a5 commit c8a0249
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 2 additions & 6 deletions components/common/Layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,12 @@ import Footer from '../Footer';

function Layout(props: PropsWithChildren<LayoutProps>) {
return (
<div className="max-h-full">
<div className="max-h-full w-full">
<Head>
<title>{props.title}</title>
</Head>
<Navbar theme={'light'} />
<main
className="w-full min-h-600 md:min-h-[800px] pb-30 md:pb-50 bg-neutral-300 bg-body-mask bg-cover"
style={{
width: '-webkit-fill-available',
}}>
<main className="w-full min-h-600 md:min-h-[800px] pb-30 md:pb-50 bg-neutral-300 bg-body-mask bg-cover">
{props.children}
</main>

Expand Down
6 changes: 6 additions & 0 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,12 @@ span.ripple {
-webkit-background-size: 100% 100%;
}

.visx-tooltip-glyph svg{
width: 40px;
height: 40px;
}


@-moz-document url-prefix() {
.mask-2 {
background-size: 100% 100%;
Expand Down

0 comments on commit c8a0249

Please sign in to comment.