Skip to content

Commit 200f411

Browse files
committed
fix: alignment incorrect on different machines
1 parent f5f27bc commit 200f411

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2300,6 +2300,20 @@ function RemoteFunctions(config = {}) {
23002300
.phoenix-image-gallery-header-icon {
23012301
height: 16px !important;
23022302
width: 18px !important;
2303+
display: flex !important;
2304+
align-items: center !important;
2305+
justify-content: center !important;
2306+
}
2307+
2308+
.phoenix-image-gallery-header-icon svg {
2309+
display: block !important;
2310+
vertical-align: middle !important;
2311+
}
2312+
2313+
.phoenix-image-gallery-header-text {
2314+
line-height: 1 !important;
2315+
display: flex !important;
2316+
align-items: center !important;
23032317
}
23042318
23052319
.phoenix-image-gallery-search-container {
@@ -2379,6 +2393,7 @@ function RemoteFunctions(config = {}) {
23792393
align-items: center !important;
23802394
gap: 3px !important;
23812395
margin-left: auto !important;
2396+
margin-bottom: 2px !important;
23822397
}
23832398
23842399
.phoenix-image-gallery-right-buttons button {
@@ -2450,7 +2465,12 @@ function RemoteFunctions(config = {}) {
24502465
user-select: none !important;
24512466
transition: all 0.2s ease !important;
24522467
z-index: 2147483647 !important;
2453-
padding: 0 12px 6px 12px !important;
2468+
padding: 4px 12px 8px 12px !important;
2469+
display: flex !important;
2470+
align-items: center !important;
2471+
justify-content: center !important;
2472+
line-height: 1 !important;
2473+
text-align: center !important;
24542474
}
24552475
24562476
.phoenix-image-gallery-nav:hover {

0 commit comments

Comments
 (0)