Skip to content

Commit

Permalink
fix(css): Add fix for flex child bug.
Browse files Browse the repository at this point in the history
Provide a small 'offset' to accomodate for issues where flex children overflow.
  • Loading branch information
jayfreestone committed Jun 13, 2019
1 parent d77c69c commit b41920d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion css/priority-plus.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
position: absolute;
top: 0;
left: 0;
width: 100%;
/* Provides a slight buffer to prevent overflow issues with flex parents. */
width: calc(100% - 5px);
pointer-events: none;
visibility: hidden;
}
Expand Down

0 comments on commit b41920d

Please sign in to comment.