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