Skip to content

Commit e74e07c

Browse files
committed
fix: add max-width to image gallery so that on larger screens there's no empty space
1 parent 8abd172 commit e74e07c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2266,12 +2266,16 @@ function RemoteFunctions(config = {}) {
22662266
.phoenix-image-gallery-container {
22672267
position: fixed !important;
22682268
bottom: 0 !important;
2269-
left: 12px !important;
2270-
right: 12px !important;
2269+
left: 50% !important;
2270+
transform: translateX(-50%) !important;
2271+
width: calc(100% - 24px) !important;
2272+
max-width: 1160px !important;
22712273
background-color: #2c2c2c !important;
22722274
border-radius: 6px 6px 0 0 !important;
22732275
font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial !important;
2274-
border: 1px solid rgba(255, 255, 255, 0.2) !important;
2276+
border: 2px solid rgba(255, 255, 255, 0.3) !important;
2277+
border-bottom: none !important;
2278+
box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3) !important;
22752279
z-index: 2147483647 !important;
22762280
overflow: hidden !important;
22772281
}

0 commit comments

Comments
 (0)