Skip to content

Commit 993dcea

Browse files
committed
refactor: use more intuitive icon for select image from computer button
1 parent 123bb4c commit 993dcea

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2251,7 +2251,7 @@ function RemoteFunctions(config = {}) {
22512251
background: rgba(21,25,36,0.65) !important;
22522252
border: 1px solid rgba(255,255,255,0.14) !important;
22532253
color: #eaeaf0 !important;
2254-
padding: 1px 3px !important;
2254+
padding: 4px 6px 2px 6px !important;
22552255
border-radius: 6px !important;
22562256
font-size: 12px !important;
22572257
cursor: pointer !important;
@@ -2416,9 +2416,8 @@ function RemoteFunctions(config = {}) {
24162416
</div>
24172417
<div class="phoenix-ribbon-select">
24182418
<button class="phoenix-select-image-btn" title="${config.strings.imageGallerySelectFromComputer}">
2419-
<svg viewBox="0 0 24 24" fill="currentColor" width="20" height="20">
2420-
<path d="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z"/>
2421-
<path d="M12,12L10.5,13.5L8.5,11.5L6,14H18L15,11L12,12Z"/>
2419+
<svg viewBox="0 0 24 24" fill="currentColor" width="16" height="16">
2420+
<path d="M22,16V4A2,2 0 0,0 20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16M11,12L13.5,15L17,10.5L20,15H8M2,6V20A2,2 0 0,0 4,22H18V20H4V6H2Z"/>
24222421
</svg>
24232422
</button>
24242423
<input type="file" class="phoenix-file-input" accept="image/*" style="display: none;">

0 commit comments

Comments
 (0)