Skip to content

Commit 6c8f036

Browse files
committed
refactor: move select button out of search button div
1 parent fd12dc3 commit 6c8f036

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2058,15 +2058,17 @@ function RemoteFunctions(config = {}) {
20582058
20592059
.phoenix-ribbon-header {
20602060
display: flex !important;
2061-
justify-content: space-between !important;
2061+
width: 100% !important;
20622062
}
20632063
20642064
.phoenix-ribbon-search {
2065+
position: absolute !important;
2066+
top: 8px !important;
2067+
left: 6px !important;
20652068
display: flex !important;
20662069
align-items: center !important;
2067-
gap: 8px !important;
20682070
background: rgba(0,0,0,0.5) !important;
2069-
padding: 5px 10px !important;
2071+
padding: 5px !important;
20702072
border-radius: 5px !important;
20712073
}
20722074
@@ -2085,11 +2087,17 @@ function RemoteFunctions(config = {}) {
20852087
cursor: pointer !important;
20862088
}
20872089
2090+
.phoenix-ribbon-select {
2091+
position: absolute !important;
2092+
top: 8px !important;
2093+
left: 50% !important;
2094+
}
2095+
20882096
.phoenix-select-image-btn {
20892097
background: rgba(255,255,255,0.1) !important;
20902098
border: 1px solid rgba(255,255,255,0.2) !important;
20912099
color: #e8eaf0 !important;
2092-
padding: 6px 12px !important;
2100+
padding: 4px 5px !important;
20932101
border-radius: 6px !important;
20942102
font-size: 12px !important;
20952103
cursor: pointer !important;
@@ -2110,6 +2118,9 @@ function RemoteFunctions(config = {}) {
21102118
cursor: pointer !important;
21112119
padding: 5px 8px !important;
21122120
border-radius: 3px !important;
2121+
position: absolute !important;
2122+
right: 4px !important;
2123+
top: 10px !important;
21132124
}
21142125
21152126
.phoenix-ribbon-attribution {
@@ -2197,10 +2208,12 @@ function RemoteFunctions(config = {}) {
21972208
<div class="phoenix-ribbon-search">
21982209
<input type="text" placeholder="Search images..." />
21992210
<button class="phoenix-ribbon-search-btn">Search</button>
2211+
</div>
2212+
<div class="phoenix-ribbon-select">
22002213
<button class="phoenix-select-image-btn">📁 Select from Computer</button>
22012214
<input type="file" class="phoenix-file-input" accept="image/*" style="display: none;">
22022215
</div>
2203-
<button class="phoenix-ribbon-close"></button>
2216+
<button class="phoenix-ribbon-close">×</button>
22042217
</div>
22052218
<div class="phoenix-ribbon-nav left">&#8249;</div>
22062219
<div class="phoenix-ribbon-strip">

0 commit comments

Comments
 (0)