Skip to content

Commit 6534401

Browse files
committed
fix(live-preview): normalize toolbar button vertical alignment
Remove inconsistent margin-top values (3.5px/3.3px) from live preview toolbar buttons and replace with margin-top: 0 for consistent alignment.
1 parent 5332f22 commit 6534401

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,14 @@
100100
height: 22px;
101101
padding: 1px 6px;
102102
flex-shrink: 0;
103-
margin-top: 3.5px;
103+
margin-top: 0;
104104
}
105105

106106
.lp-device-size-icon {
107107
min-width: fit-content;
108108
display: flex;
109109
align-items: center;
110-
margin: 3.5px 4px 0 3px;
110+
margin: 0 4px 0 3px;
111111
cursor: pointer;
112112
background: transparent;
113113
box-shadow: none;
@@ -165,7 +165,7 @@
165165
min-width: fit-content;
166166
display: flex;
167167
align-items: center;
168-
margin: 3.5px 4px 0 3px;
168+
margin: 0 4px 0 3px;
169169
max-width: 80%;
170170
text-overflow: ellipsis;
171171
overflow: hidden;
@@ -197,7 +197,7 @@
197197

198198
#reloadLivePreviewButton {
199199
margin-left: 3px;
200-
margin-top: 3.5px;
200+
margin-top: 0;
201201
width: 30px;
202202
height: 22px;
203203
flex-shrink: 0;
@@ -206,7 +206,7 @@
206206
#previewModeLivePreviewButton {
207207
color: #a0a0a0;
208208
margin-left: 3px;
209-
margin-top: 3.3px;
209+
margin-top: 0;
210210
width: 30px;
211211
height: 22px;
212212
flex-shrink: 0;

0 commit comments

Comments
 (0)