Skip to content

Commit 81eb0f5

Browse files
committed
fix: image gallery nav buttons styling
1 parent 6b49fe1 commit 81eb0f5

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2283,7 +2283,7 @@ function RemoteFunctions(config = {}) {
22832283
22842284
.phoenix-ribbon-row {
22852285
display: flex !important;
2286-
gap: 4px !important;
2286+
gap: 5px !important;
22872287
}
22882288
22892289
.phoenix-ribbon-thumb {
@@ -2314,8 +2314,7 @@ function RemoteFunctions(config = {}) {
23142314
23152315
.phoenix-ribbon-nav {
23162316
position: absolute !important;
2317-
top: 58% !important;
2318-
transform: translateY(-50%) !important;
2317+
top: 50% !important;
23192318
border-radius: 12px !important;
23202319
border: 1px solid rgba(255,255,255,0.14) !important;
23212320
color: #eaeaf0 !important;
@@ -2326,26 +2325,26 @@ function RemoteFunctions(config = {}) {
23262325
user-select: none !important;
23272326
transition: all 0.2s ease !important;
23282327
z-index: 2147483647 !important;
2329-
padding: 2px 12px 6px 12px !important;
2328+
padding: 0 12px 6px 12px !important;
23302329
}
23312330
23322331
.phoenix-ribbon-nav:hover {
23332332
background: rgba(21,25,36,0.85) !important;
23342333
border-color: rgba(255,255,255,0.25) !important;
2335-
transform: translateY(-50%) scale(1.05) !important;
2334+
transform: scale(1.05) !important;
23362335
box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
23372336
}
23382337
23392338
.phoenix-ribbon-nav:active {
2340-
transform: translateY(-50%) scale(0.95) !important;
2339+
transform: scale(0.95) !important;
23412340
}
23422341
23432342
.phoenix-ribbon-nav.left {
2344-
left: 18px !important;
2343+
left: 15px !important;
23452344
}
23462345
23472346
.phoenix-ribbon-nav.right {
2348-
right: 18px !important;
2347+
right: 15px !important;
23492348
}
23502349
23512350
.phoenix-ribbon-loading {

0 commit comments

Comments
 (0)