Skip to content

Commit 06cf0ee

Browse files
committed
chore: cloudcmd: actions: lint ☘️
1 parent 59024ee commit 06cf0ee

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

client/client.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ function CloudCmdProto(DOM) {
5959
this.prefixSocket = '';
6060
this.prefixURL = '';
6161

62-
var bodyStyle = getComputedStyle(document.body);
63-
this.MIN_ONE_PANEL_WIDTH = bodyStyle.getPropertyValue("--min-one-panel-width");
64-
this.MOBILE_ONE_PANEL_WIDTH = bodyStyle.getPropertyValue('--mobile-max-width')
62+
const bodyStyle = getComputedStyle(document.body);
63+
64+
this.MIN_ONE_PANEL_WIDTH = bodyStyle.getPropertyValue('--min-one-panel-width');
65+
this.MOBILE_ONE_PANEL_WIDTH = bodyStyle.getPropertyValue('--mobile-max-width');
6566

6667
this.HOST = location.origin || location.protocol + '//' + location.host;
6768

css/query.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
--mobile-max-width: 600px;
2424
--min-one-panel-width: 1155px;
2525
}
26+
2627
@media only screen and (height <= 900px) and (width <= 600px) {
2728
.fm {
2829
height: 85%;

0 commit comments

Comments
 (0)