Skip to content

Commit 0db45a7

Browse files
committed
feat: improve live preview dimension label styles
1 parent 625a4c5 commit 0db45a7

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/extensionsIntegrated/Phoenix-live-preview/live-preview.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -155,20 +155,20 @@
155155
transform: translateX(-50%);
156156
z-index: 10;
157157
display: none;
158-
padding: 4px 12px;
159-
border-radius: 4px;
160-
background: rgba(0, 0, 0, 0.82);
161-
border: 1px solid rgba(255, 255, 255, 0.15);
162-
backdrop-filter: blur(8px);
163-
-webkit-backdrop-filter: blur(8px);
158+
padding: 6px 16px;
159+
border-radius: 6px;
160+
background: rgba(0, 0, 0, 0.88);
161+
border: 1px solid rgba(255, 255, 255, 0.18);
162+
backdrop-filter: blur(12px);
163+
-webkit-backdrop-filter: blur(12px);
164164
color: #fff;
165-
font-size: 13px;
165+
font-size: 15px;
166166
font-weight: 600;
167167
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
168168
white-space: nowrap;
169169
pointer-events: none;
170-
letter-spacing: 0.4px;
171-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
170+
letter-spacing: 0.5px;
171+
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
172172
}
173173

174174
.plugin-toolbar {

0 commit comments

Comments
 (0)