sparkfun / data.sparkfun.com

the phant server config for data.sparkfun.com
6 stars 3 forks source link

Create new link hard to click in some browsers #1

Closed xt0rted closed 10 years ago

xt0rted commented 10 years ago

This isn't an issue with the service, but rather http://data.sparkfun.com itself. The create new link in the top right is mostly covered by the scrollbar in IE10 and 11.

normal hover

This happens because of these style rules

@-ms-viewport
{
    width: device-width;
}

@media (min-width:768px)
{
    .navbar-nav.navbar-right:last-child
    {
        margin-right:-15px;
    }
}

The @-ms-viewport rule tells IE to overlay the scrollbar on the window instead of next to it and then the -15px margin reset moves the link under it. Removing that rule fixes the issue.

toddtreece commented 10 years ago

Thanks for the detailed bug report (and the fix)!

toddtreece commented 10 years ago

fixed by sparkfun/phant-manager-http@dd6d2024c2a746a1366548e4dc188e92b17d1965

thanks again!