Skip to content

Commit

Permalink
Merge pull request #2224 from IntersectMBO/hotfix/voting-power-chip-m…
Browse files Browse the repository at this point in the history
…issing-padding

fix: voting power chip missing padding
  • Loading branch information
MSzalowski authored Oct 24, 2024
2 parents 456862d + df0b71a commit 9e87673
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions govtool/frontend/src/components/atoms/VotingPowerChips.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const VotingPowerChips = ({
height: isMobile ? 16 : 24,
px: 2,
py: isMobile ? 1 : 1.5,
maxHeight: "14px",
}}
>
{!isMobile && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ export const GovernanceActionCardElement = ({
alignItems: isMarkdown ? "unset" : "center",
overflow: "hidden",
flexDirection: isMarkdown ? "column" : "row",
// Workaround for not setting the font in markdown
fontFamily: "Poppins, Arial",
}}
>
{isMarkdown ? (
Expand Down
2 changes: 0 additions & 2 deletions govtool/frontend/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { QueryClient, QueryClientProvider } from "react-query";
import { ReactQueryDevtools } from "react-query/devtools";
import TagManager from "react-gtm-module";
import { ThemeProvider } from "@emotion/react";
import { CssBaseline } from "@mui/material";
import * as Sentry from "@sentry/react";

import { ContextProviders, UsersnapProvider } from "@context";
Expand Down Expand Up @@ -52,7 +51,6 @@ ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
<React.StrictMode>
<QueryClientProvider client={queryClient}>
<ThemeProvider theme={theme}>
<CssBaseline />
<UsersnapProvider>
<BrowserRouter>
<ContextProviders>
Expand Down

0 comments on commit 9e87673

Please sign in to comment.