Skip to content

Commit 58ec181

Browse files
Bug 1878747 - Move shortcut context menu outside hover background r=desktop-theme-reviewers,thecount,amy
Differential Revision: https://phabricator.services.mozilla.com/D200740
1 parent aba7e22 commit 58ec181

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

browser/components/newtab/content-src/components/TopSites/_TopSites.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ $letter-fallback-color: $white;
106106
width: 120px;
107107
border-radius: 8px;
108108
display: inline-block;
109+
margin-block-end: 16px;
109110

110111
// container for context menu
111112
.top-site-inner {
@@ -134,7 +135,7 @@ $letter-fallback-color: $white;
134135
-moz-context-properties: fill;
135136
height: 20px;
136137
width: 20px;
137-
inset-inline-end: -9px;
138+
inset-inline-end: 3px;
138139
opacity: 0;
139140
position: absolute;
140141
top: -20px;

browser/components/newtab/css/activity-stream-linux.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,7 @@ main section {
603603
width: 120px;
604604
border-radius: 8px;
605605
display: inline-block;
606+
margin-block-end: 16px;
606607
}
607608
.top-site-outer .top-site-inner {
608609
position: relative;
@@ -625,7 +626,7 @@ main section {
625626
-moz-context-properties: fill;
626627
height: 20px;
627628
width: 20px;
628-
inset-inline-end: -9px;
629+
inset-inline-end: 3px;
629630
opacity: 0;
630631
position: absolute;
631632
top: -20px;

browser/components/newtab/css/activity-stream-mac.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,7 @@ main section {
607607
width: 120px;
608608
border-radius: 8px;
609609
display: inline-block;
610+
margin-block-end: 16px;
610611
}
611612
.top-site-outer .top-site-inner {
612613
position: relative;
@@ -629,7 +630,7 @@ main section {
629630
-moz-context-properties: fill;
630631
height: 20px;
631632
width: 20px;
632-
inset-inline-end: -9px;
633+
inset-inline-end: 3px;
633634
opacity: 0;
634635
position: absolute;
635636
top: -20px;

browser/components/newtab/css/activity-stream-windows.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,7 @@ main section {
603603
width: 120px;
604604
border-radius: 8px;
605605
display: inline-block;
606+
margin-block-end: 16px;
606607
}
607608
.top-site-outer .top-site-inner {
608609
position: relative;
@@ -625,7 +626,7 @@ main section {
625626
-moz-context-properties: fill;
626627
height: 20px;
627628
width: 20px;
628-
inset-inline-end: -9px;
629+
inset-inline-end: 3px;
629630
opacity: 0;
630631
position: absolute;
631632
top: -20px;

0 commit comments

Comments
 (0)