Skip to content

Commit 87261a0

Browse files
committed
fix: minor styling fixes
1 parent d23af23 commit 87261a0

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
* modules should define a single function that returns an object of all
2929
* exported functions.
3030
*/
31-
function RemoteFunctions(config) {
32-
31+
function RemoteFunctions(config = {}) {
3332
// this will store the element that was clicked previously (before the new click)
3433
// we need this so that we can remove click styling from the previous element when a new element is clicked
3534
let previouslyClickedElement = null;
@@ -1494,7 +1493,7 @@ function RemoteFunctions(config) {
14941493
14951494
.id-name,
14961495
.class-name {
1497-
margin-top: 2px;
1496+
margin-top: 3px;
14981497
}
14991498
15001499
.exceeded-classes {

src/LiveDevelopment/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ define(function main(require, exports, module) {
4747

4848

4949
// this is responsible to make the advanced live preview features active or inactive
50+
// @abose (make this variable false when not a paid user, everything rest is handled automatically)
5051
let isLPEditFeaturesActive = true;
5152

5253
const EVENT_LIVE_HIGHLIGHT_PREF_CHANGED = "liveHighlightPrefChange";

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@
9898
display: flex;
9999
align-items: center;
100100
margin-right: 4px;
101-
margin-left: 4px;
102101
max-width: 80%;
103102
text-overflow: ellipsis;
104103
overflow: hidden;
@@ -111,7 +110,7 @@
111110
color: #a0a0a0;
112111
font-size: 14px;
113112
font-weight: normal;
114-
padding: 0 0.75em;
113+
padding: 0 0.35em;
115114
}
116115

117116
#livePreviewModeBtn:hover {

0 commit comments

Comments
 (0)