Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

Commit

Permalink
fix(topsites): Fixes #1154 TopSites tile loses highlight on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
sarracini authored and rlr committed Jan 27, 2017
1 parent 8683703 commit d43cc0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 0 additions & 4 deletions content-src/components/SiteIcon/SiteIcon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,4 @@
overflow: hidden;
z-index: 1;
}

&:hover .site-icon-title {
background-color: $tile-title-hover-color;
}
}
9 changes: 6 additions & 3 deletions content-src/components/TopSites/TopSites.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

// This is a container for the delete menu
.tile-outer {
@include item-shadow;
@include link-menu-button;
border-radius: $border-radius;
position: relative;
display: inline-block;
margin: 0 $tile-gutter 0 0;
Expand All @@ -29,6 +31,10 @@
box-shadow: none;
}
}

&:hover .site-icon-title {
background-color: $tile-title-hover-color;
}
}

.screenshot {
Expand All @@ -43,10 +49,8 @@
}

.tile {
@include item-shadow;
display: inline-flex;
flex-shrink: 0;
border-radius: $border-radius;
flex-direction: column;
font-size: $tile-font-size;
height: $tile-height;
Expand Down Expand Up @@ -96,7 +100,6 @@
.top-sites {

.tile {
@include item-shadow;
box-shadow: none;

.tile-img-container {
Expand Down

0 comments on commit d43cc0c

Please sign in to comment.