UBER-1164: clickable panel on the desktop app (#3988)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov 2023-11-15 07:15:44 +03:00 committed by GitHub
parent 2a7b2f51d1
commit 37faa040d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,7 +159,7 @@
<StatusComponent {status} /> <StatusComponent {status} />
</div> </div>
</div> </div>
<div class="flex-row-reverse"> <div class="flex-row-reverse" style:-webkit-app-region={'no-drag'}>
<div class="clock"> <div class="clock">
<Clock /> <Clock />
</div> </div>
@ -248,20 +248,19 @@
.clock { .clock {
margin: 0 12px 0 8px; margin: 0 12px 0 8px;
} }
.widget { // .widget {
-webkit-app-region: no-drag; // font-size: 13px;
font-size: 13px; // color: var(--theme-content-color);
color: var(--theme-content-color); // transition: transform 0.15s ease-in-out;
transition: transform 0.15s ease-in-out;
&.rotated { // &.rotated {
transform-origin: center center; // transform-origin: center center;
transform: rotate(90deg); // transform: rotate(90deg);
} // }
} // }
.widget + .widget { // .widget + .widget {
margin-right: 12px; // margin-right: 12px;
} // }
} }
.app { .app {