mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore: cloudcmd: actions: lint ☘️
This commit is contained in:
parent
59024eea98
commit
06cf0eebce
2 changed files with 5 additions and 3 deletions
|
|
@ -59,9 +59,10 @@ function CloudCmdProto(DOM) {
|
||||||
this.prefixSocket = '';
|
this.prefixSocket = '';
|
||||||
this.prefixURL = '';
|
this.prefixURL = '';
|
||||||
|
|
||||||
var bodyStyle = getComputedStyle(document.body);
|
const bodyStyle = getComputedStyle(document.body);
|
||||||
this.MIN_ONE_PANEL_WIDTH = bodyStyle.getPropertyValue("--min-one-panel-width");
|
|
||||||
this.MOBILE_ONE_PANEL_WIDTH = bodyStyle.getPropertyValue('--mobile-max-width')
|
this.MIN_ONE_PANEL_WIDTH = bodyStyle.getPropertyValue('--min-one-panel-width');
|
||||||
|
this.MOBILE_ONE_PANEL_WIDTH = bodyStyle.getPropertyValue('--mobile-max-width');
|
||||||
|
|
||||||
this.HOST = location.origin || location.protocol + '//' + location.host;
|
this.HOST = location.origin || location.protocol + '//' + location.host;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@
|
||||||
--mobile-max-width: 600px;
|
--mobile-max-width: 600px;
|
||||||
--min-one-panel-width: 1155px;
|
--min-one-panel-width: 1155px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (height <= 900px) and (width <= 600px) {
|
@media only screen and (height <= 900px) and (width <= 600px) {
|
||||||
.fm {
|
.fm {
|
||||||
height: 85%;
|
height: 85%;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue