Skip to content

Commit 1bcdfad

Browse files
devvaannshabose
authored andcommitted
chore: remove redundant '-live preview' text from live preview toolbar
1 parent ef9d39f commit 1bcdfad

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,18 @@
5555

5656
.open-icon {
5757
background: url("./images/sprites.svg#open-icon") center no-repeat;
58+
width: 30px;
59+
margin-left: 4px;
5860
}
5961

6062
.pin-icon {
6163
background: url("./images/sprites.svg#pinned-icon") center no-repeat;
64+
width: 30px;
6265
}
6366

6467
.unpin-icon {
6568
background: url("./images/sprites.svg#unpinned-icon") center no-repeat;
69+
width: 30px;
6670
}
6771

6872
.reload-icon {
@@ -97,8 +101,7 @@
97101
min-width: fit-content;
98102
display: flex;
99103
align-items: center;
100-
margin-right: 4px;
101-
margin-left: 3px;
104+
margin: 2px 4px 0 3px;
102105
max-width: 80%;
103106
text-overflow: ellipsis;
104107
overflow: hidden;
@@ -128,7 +131,7 @@
128131
#reloadLivePreviewButton {
129132
margin-left: 3px;
130133
margin-top: 3.5px;
131-
width: 22px;
134+
width: 30px;
132135
height: 22px;
133136
flex-shrink: 0;
134137
}
@@ -137,7 +140,7 @@
137140
color: #a0a0a0;
138141
margin-left: 3px;
139142
margin-top: 3.5px;
140-
width: 22px;
143+
width: 30px;
141144
height: 22px;
142145
flex-shrink: 0;
143146
}

src/extensionsIntegrated/Phoenix-live-preview/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ define(function (require, exports, module) {
556556
let message = Strings.LIVE_DEV_SELECT_FILE_TO_PREVIEW,
557557
tooltip = message;
558558
if(fileName){
559-
message = `${fileName} - ${Strings.LIVE_DEV_STATUS_TIP_OUT_OF_SYNC}`;
559+
message = `${fileName}`;
560560
tooltip = StringUtils.format(Strings.LIVE_DEV_TOOLTIP_SHOW_IN_EDITOR, fileName);
561561
}
562562
if(currentLivePreviewURL){

0 commit comments

Comments
 (0)