Skip to content

Commit dadf1b9

Browse files
committed
fix: better styling for the resize ruler button in the toolbar
1 parent e7c395e commit dadf1b9

2 files changed

Lines changed: 6 additions & 6 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
@@ -5,7 +5,7 @@
55
.live-preview-browser-btn {
66
opacity: 0;
77
visibility: hidden;
8-
transition: opacity 1s, visibility 0s linear 1s; /* Fade-out effect */
8+
transition: opacity 1s, visibility 0s linear 1s;
99
}
1010

1111
#live-preview-plugin-toolbar {
@@ -101,7 +101,7 @@
101101
opacity: 0;
102102
color: #a0a0a0;
103103
visibility: hidden;
104-
transition: opacity 1s, visibility 0s linear 1s; /* Fade-out effect */
104+
transition: opacity 1s, visibility 0s linear 1s;
105105
width: 30px;
106106
height: 22px;
107107
padding: 1px 6px;
@@ -124,15 +124,16 @@
124124
}
125125

126126
.lp-device-size-icon {
127-
min-width: fit-content;
128127
display: flex;
129128
align-items: center;
129+
justify-content: center;
130+
width: 20px;
130131
cursor: pointer;
131132
background: transparent;
132133
box-shadow: none !important;
133134
border: none;
134135
color: #a0a0a0;
135-
padding: 0 0.35em;
136+
padding: 0;
136137
margin: 0;
137138
}
138139

@@ -282,7 +283,6 @@
282283
color: #fff;
283284
}
284285

285-
/* Persistent cursor-sync highlight on CM line corresponding to md viewer cursor */
286286
.cm-cursor-sync-highlight {
287287
background-color: rgba(100, 150, 255, 0.18) !important;
288288
}

src/nls/root/strings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ define({
524524
"LIVE_DEV_IMAGE_FOLDER_DIALOG_REMEMBER": "Don't ask again for this project",
525525
"AVAILABLE_IN_PRO_TITLE": "Available in Phoenix Pro",
526526
"DEVICE_SIZE_LIMIT_MESSAGE": "See how your page looks on phones, tablets, desktops, and your CSS breakpoints. Upgrade to Phoenix Pro.",
527-
"DEVICE_SIZE_NOT_ENOUGH_SPACE": "Not enough space in the editor window for this screen size. Try zooming out.",
527+
"DEVICE_SIZE_NOT_ENOUGH_SPACE": "Not enough space for this screen size - try zooming out",
528528
"DEVICE_SIZE_CYCLE_TOOLTIP": "Switch between mobile, tablet, and desktop",
529529
"DEVICE_SIZE_DROPDOWN_TOOLTIP": "All device sizes",
530530
"MD_EDIT_UPSELL_MESSAGE": "Write Markdown like a document. {APP_NAME} handles the formatting so you can stay focused on writing.",

0 commit comments

Comments
 (0)