Skip to content

Commit f28a52a

Browse files
committed
refactor: image ribbon nav buttons positioning
1 parent 6c8f036 commit f28a52a

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1948,7 +1948,7 @@ function RemoteFunctions(config = {}) {
19481948
19491949
.phoenix-ribbon-container {
19501950
width: 100% !important;
1951-
height: 160px !important;
1951+
height: 156px !important;
19521952
background: rgba(21,25,36,0.55) !important;
19531953
position: relative !important;
19541954
}
@@ -1995,28 +1995,20 @@ function RemoteFunctions(config = {}) {
19951995
19961996
.phoenix-ribbon-nav {
19971997
position: absolute !important;
1998-
top: 50% !important;
1998+
top: 58% !important;
19991999
transform: translateY(-50%) !important;
2000-
width: 40px !important;
2001-
height: 40px !important;
20022000
border-radius: 12px !important;
20032001
border: 1px solid rgba(255,255,255,0.14) !important;
2004-
display: flex !important;
2005-
align-items: center !important;
2006-
justify-content: center !important;
20072002
color: #eaeaf0 !important;
20082003
background: rgba(21,25,36,0.65) !important;
20092004
cursor: pointer !important;
20102005
backdrop-filter: blur(8px) !important;
2011-
font-size: 14px !important;
2012-
}
2013-
2014-
.phoenix-ribbon-nav {
2015-
font-size: 18px !important;
2006+
font-size: 20px !important;
20162007
font-weight: 600 !important;
20172008
user-select: none !important;
20182009
transition: all 0.2s ease !important;
20192010
z-index: 10 !important;
2011+
padding: 2px 12px 6px 12px !important;
20202012
}
20212013
20222014
.phoenix-ribbon-nav:hover {
@@ -2116,7 +2108,7 @@ function RemoteFunctions(config = {}) {
21162108
border: none !important;
21172109
color: white !important;
21182110
cursor: pointer !important;
2119-
padding: 5px 8px !important;
2111+
padding: 4px 8px !important;
21202112
border-radius: 3px !important;
21212113
position: absolute !important;
21222114
right: 4px !important;

0 commit comments

Comments
 (0)