Skip to content

Commit

Permalink
fix: fix icons style in the header
Browse files Browse the repository at this point in the history
  • Loading branch information
Melichka committed Sep 2, 2024
1 parent 523681b commit 8ec6f69
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styled from "styled-components"

import { Box } from "@mui/material"
import { Box, IconButton } from "@mui/material"

export const Container = styled(Box)`
display: flex;
Expand Down
40 changes: 28 additions & 12 deletions application/frontend/src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useEffect } from "react"
import { useTranslation } from "react-i18next"

import { AccountCircle, Message, MoreVert, Notifications } from "@mui/icons-material"
import { AccountCircleOutlined, MoreVertOutlined, NotificationsOutlined } from "@mui/icons-material"
import { Button, IconButton, Switch, Tooltip, Typography } from "@mui/material"

import { UserController } from "src/api/controllers/UserController"
Expand Down Expand Up @@ -66,24 +66,40 @@ export const Header: React.FC = () => {

<RightSection>
<IconButtons>
<Tooltip title={t("messages")}>
<IconButton>
<Message />
</IconButton>
</Tooltip>
<Tooltip title={t("notifications")}>
<IconButton>
<Notifications />
<IconButton
sx={{
backgroundColor: "rgba(238, 238, 238, 1)",
borderRadius: "6px",
width: "28px",
height: "28px",
}}
>
<NotificationsOutlined />
</IconButton>
</Tooltip>
<Tooltip title={t("profile")}>
<IconButton>
<AccountCircle />
<IconButton
sx={{
backgroundColor: "rgba(238, 238, 238, 1)",
borderRadius: "6px",
width: "28px",
height: "28px",
}}
>
<AccountCircleOutlined />
</IconButton>
</Tooltip>
<Tooltip title={t("more")}>
<IconButton>
<MoreVert />
<IconButton
sx={{
backgroundColor: "rgba(238, 238, 238, 1)",
borderRadius: "6px",
width: "28px",
height: "28px",
}}
>
<MoreVertOutlined />
</IconButton>
</Tooltip>
</IconButtons>
Expand Down

0 comments on commit 8ec6f69

Please sign in to comment.