mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
refactor
This commit is contained in:
@@ -287,7 +287,7 @@ class MultipleSessions: Reactor.Component {
|
||||
function onSize() {
|
||||
var w = this.$(.sessions-bar).box(#width) - 220;
|
||||
this.$(#sessions-type span).style.set{
|
||||
"max-width": (w / 2) + "px",
|
||||
"max-width": (w / (handler.is_installed() ? 2 : 3)) + "px",
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -233,7 +233,7 @@ class Header: Reactor.Component {
|
||||
event click $(#ctrl-alt-del) {
|
||||
handler.ctrl_alt_del();
|
||||
}
|
||||
|
||||
|
||||
event click $(#lock-screen) {
|
||||
handler.lock_screen();
|
||||
}
|
||||
|
||||
@@ -361,3 +361,21 @@ div#myid svg#menu {
|
||||
position: absolute;
|
||||
right: -1em;
|
||||
}
|
||||
|
||||
div.remote-session svg#menu {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.install-me .button {
|
||||
height: 2em;
|
||||
line-height: 2em;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
font-size: 1.6em;
|
||||
margin-top: 1em;
|
||||
border-color: white;
|
||||
border: 1px;
|
||||
background: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user