Skip to content

Commit c488b8e

Browse files
committed
chore: round dash calendar buttons
1 parent fe71033 commit c488b8e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

modules/dashboard/dash/Calendar.qml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ CustomMouseArea {
100100
spacing: Tokens.spacing.extraSmall
101101

102102
IconButton {
103+
isRound: true
103104
icon: "chevron_left"
104105
type: IconButton.Text
105106
font: Tokens.font.icon.builders.small.weight(Font.Bold).build()
@@ -116,7 +117,7 @@ CustomMouseArea {
116117

117118
StateLayer {
118119
color: Colours.palette.m3primary
119-
radius: pressed ? Tokens.rounding.small : Tokens.rounding.large
120+
radius: pressed ? Tokens.rounding.small : height / 2
120121
disabled: {
121122
const now = new Date();
122123
return root.nonAnimCurrMonth === now.getMonth() && root.nonAnimCurrYear === now.getFullYear();
@@ -146,6 +147,7 @@ CustomMouseArea {
146147
}
147148

148149
IconButton {
150+
isRound: true
149151
icon: "chevron_right"
150152
type: IconButton.Text
151153
font: Tokens.font.icon.builders.small.weight(Font.Bold).build()

0 commit comments

Comments
 (0)