Skip to content

Commit 2307a4f

Browse files
committed
refactor: show attribution only on hover
1 parent 5695580 commit 2307a4f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2128,7 +2128,8 @@ function RemoteFunctions(config = {}) {
21282128
max-width: calc(100% - 12px) !important;
21292129
text-shadow: 0 1px 2px rgba(0,0,0,0.9) !important;
21302130
pointer-events: none !important;
2131-
opacity: 0.95 !important;
2131+
opacity: 0 !important;
2132+
transition: all 0.2s ease !important;
21322133
}
21332134
21342135
.phoenix-ribbon-attribution .photographer {
@@ -2172,6 +2173,10 @@ function RemoteFunctions(config = {}) {
21722173
pointer-events: auto !important;
21732174
}
21742175
2176+
.phoenix-ribbon-thumb:hover .phoenix-ribbon-attribution {
2177+
opacity: 1 !important;
2178+
}
2179+
21752180
.phoenix-download-icon:hover {
21762181
background: rgba(0,0,0,0.9) !important;
21772182
transform: scale(1.1) !important;

0 commit comments

Comments
 (0)