Skip to content

Commit e43ec66

Browse files
authored
refactor(web): update StyledWeekDay and StyledIntervalInput for improved styling (#1159)
1 parent 6f4d3e8 commit e43ec66

File tree

1 file changed

+6
-4
lines changed
  • packages/web/src/views/Forms/EventForm/DateControlsSection/RecurrenceSection

1 file changed

+6
-4
lines changed

packages/web/src/views/Forms/EventForm/DateControlsSection/RecurrenceSection/styled.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,13 @@ export const StyledWeekDay = styled.button<{
8181
bgColor: string;
8282
selected: boolean;
8383
}>`
84-
width: 24px;
85-
height: 24px;
86-
border-radius: 50%;
87-
border: 1px solid ${({ theme }) => theme.color.border.primaryDark};
8884
background-color: ${({ bgColor }) => bgColor};
85+
border: 1px solid ${({ theme }) => theme.color.border.primaryDark};
86+
border-radius: 50%;
87+
font-size: ${({ theme }) => theme.text.size.m};
88+
height: 24px;
8989
transition: ${({ theme }) => theme.transition.default};
90+
width: 24px;
9091
9192
cursor: pointer;
9293
${({ selected, theme }) =>
@@ -118,6 +119,7 @@ export const StyledIntervalInput = styled.input<{
118119
border: 1px solid transparent;
119120
text-align: center;
120121
border-radius: ${({ theme }) => theme.shape.borderRadius};
122+
font-size: ${({ theme }) => theme.text.size.s};
121123
padding: 0 4px;
122124
background-color: ${({ bgColor }) => bgColor};
123125
margin-left: ${({ theme }) => theme.spacing.xs};

0 commit comments

Comments
 (0)