2023-08-31 09:47:59 -04:00
|
|
|
/*
|
|
|
|
Some CSS cannot be represented
|
|
|
|
in Tailwind, such as complex grid layouts.
|
|
|
|
*/
|
|
|
|
.header {
|
|
|
|
grid-template-columns: 1fr auto 1fr;
|
2024-08-29 10:38:13 -04:00
|
|
|
user-select: none;
|
|
|
|
-webkit-user-select: none;
|
2024-09-05 15:18:32 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.header.desktopApp {
|
2024-08-29 10:38:13 -04:00
|
|
|
/* Make the header act as a handle to drag the electron app window,
|
|
|
|
* per the electron docs: https://www.electronjs.org/docs/latest/tutorial/window-customization#set-custom-draggable-region
|
|
|
|
* all interactive elements opt-out of this behavior by default in src/index.css
|
|
|
|
*/
|
|
|
|
-webkit-app-region: drag;
|
2023-08-31 09:47:59 -04:00
|
|
|
}
|