Skip to content

Commit

Permalink
Switch to flex-basis instead of width to prevent zoom issues. (#15984)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellr authored Jun 24, 2019
1 parent 1465f21 commit c3f65fb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/editor/src/components/table-of-contents/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,17 @@
}

.table-of-contents__count {
width: 25%;
flex-basis: 25%;
display: flex;
flex-direction: column;
font-size: $default-font-size;
color: $dark-gray-300;
padding-right: $grid-size;
margin-bottom: 0;

&:last-child {
padding-right: 0;
}
}

.table-of-contents__number,
Expand Down

0 comments on commit c3f65fb

Please sign in to comment.