Skip to content

Commit c8143ff

Browse files
committed
refactor: adjust reading goal component padding and remove mobile media query
1 parent a94cba9 commit c8143ff

File tree

1 file changed

+2
-27
lines changed

1 file changed

+2
-27
lines changed

static/css/components/reading-goal.less

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
display: inline-block;
6565
width: fit-content;
6666
margin: 0;
67-
padding: 9px 20px;
67+
padding: 6px 15px;
6868
font-size: @font-size-label-large;
6969
}
7070

@@ -96,36 +96,11 @@
9696
}
9797

9898
.goal-form__input-section button {
99-
padding: 7px 14px;
99+
padding: 5px 12px;
100100
font-size: @font-size-label-medium;
101101
}
102102
}
103103

104-
@media only screen and (max-width: 480px) {
105-
.goal-form__question {
106-
flex-direction: column;
107-
gap: 6px;
108-
text-align: center;
109-
}
110-
111-
.goal-form__input-section {
112-
gap: 8px;
113-
justify-content: center;
114-
padding-right: 0;
115-
}
116-
117-
.goal-form__input-section input {
118-
width: 55px;
119-
padding: 6px 8px;
120-
font-size: @font-size-label-small;
121-
}
122-
123-
.goal-form__input-section button {
124-
padding: 6px 12px;
125-
font-size: @font-size-label-small;
126-
}
127-
}
128-
129104
/* Styles for the yearly reading goal progress component */
130105
.reading-goal-progress {
131106
color: @dark-grey;

0 commit comments

Comments
 (0)