Skip to content

Commit 973c445

Browse files
committed
[Vote Style] fix issue in Safari mobile
In smaller screen sizes of Safari the user and score sections were overlapping the content. Which made the it harder to read the copy. Move the position to be medium on up.
1 parent c4cd21a commit 973c445

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/vote/app-style.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
}
2929

3030
&__user-section {
31-
flex: 0 0 25%;
3231
padding: 0 0 30px;
3332

3433
@include break(medium) {
34+
flex: 0 0 25%;
3535
padding: 0 0 0 20px;
3636
}
3737

@@ -144,12 +144,12 @@
144144

145145
&__score-section {
146146
display: flex;
147-
flex: 0 0 40%;
148147
border: 1px solid lightgray;
149148
user-select: none;
150149
flex-wrap: wrap;
151150

152151
@include break(medium){
152+
flex: 0 0 40%;
153153
margin-right: 30px;
154154
padding: 0 0 0 20px;
155155
}
@@ -168,8 +168,8 @@
168168
}
169169

170170
&__item-button {
171+
align-self: center;
171172
flex: 0 0 50%;
172-
align-self: center;
173173

174174
@include break(medium){
175175
flex: 0 0 40%;

0 commit comments

Comments
 (0)