Skip to content

Commit

Permalink
adjust styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio Colajanni committed Jul 1, 2024
1 parent 3b047ef commit 309e38f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/webchat-ui/components/history/QueueUpdates.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ import { Typography } from "@cognigy/chat-components";
import { useSelector } from "../../../webchat/helper/useSelector";
import { formatWaitTime } from "../../utils/formatWaitTime";

const StyledQueueUpdates = styled.div(() => ({
const StyledQueueUpdates = styled.div(({ theme }) => ({
marginBottom: "var(--webchat-message-margin-block, 24px)",
marginInline: "var(--webchat-message-margin-inline, 20px)",
padding: "12px",
textAlign: "center",
color: "var(--cc-black-40, #666)",
lineHeight: "140%",
color: theme.black40,
"& span": {
display: "block",
},
Expand Down

0 comments on commit 309e38f

Please sign in to comment.