Skip to content

Commit

Permalink
fix highlight shrink in vertical layout
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj committed Jun 2, 2024
1 parent dbe36ea commit 5ec0b4c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions page/generic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ body {
}
}

.candidate {
/* When horizontal and there is multi-line candidate, make sure other candidates are vertical centered. */
.horizontal .candidate {
/* When horizontal and there is multi-line candidate,
make sure other candidates are vertical centered.
Don't enable it for vertical. It will shrink highlight. */
display: flex;
}

Expand Down

0 comments on commit 5ec0b4c

Please sign in to comment.