remove mistaken code comment

[skip ci]
This commit is contained in:
Nolan Lawson 2018-04-12 22:30:40 -07:00
parent d2c5839873
commit aaf0a16a48
1 changed files with 0 additions and 5 deletions

View File

@ -65,11 +65,6 @@
* the element doesn't take up the full width, and then set its left margin to * the element doesn't take up the full width, and then set its left margin to
* auto so that it sticks to the right. fit-content doesn't work in Edge, but * auto so that it sticks to the right. fit-content doesn't work in Edge, but
* that just means that content that is level with the button is not clickable. * that just means that content that is level with the button is not clickable.
*
* Before this, I tried a wrapper element with pointer-events:none and then
* pointer-events:auto on the button itself, but in Chrome that made it so
* that occasionally hit detection failed and a click on the button would fall
* through and click something underneath, which is a worse bug.
*/ */
width: -moz-fit-content; width: -moz-fit-content;
width: fit-content; width: fit-content;