mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-26 20:43:36 -05:00
Adjust plans css
This commit is contained in:
@@ -66,6 +66,14 @@ body:has(.planner) header {
|
||||
background-color: var(--color-bg);
|
||||
}
|
||||
|
||||
.tlui-toolbar-container.tlui-toolbar__tools {
|
||||
bottom: calc(var(--layout-fuse-bottom-height) + env(safe-area-inset-bottom));
|
||||
}
|
||||
|
||||
.tl-watermark_SEE-LICENSE {
|
||||
bottom: calc(var(--layout-fuse-bottom-height) + env(safe-area-inset-bottom));
|
||||
}
|
||||
|
||||
img[src$="?outline=red"] {
|
||||
--outline-width: 0.1rem;
|
||||
--outline-color: crimson;
|
||||
|
||||
@@ -160,12 +160,19 @@ function Document({
|
||||
useTriggerToasts();
|
||||
useSidebarRevalidation();
|
||||
|
||||
const htmlStyle: Record<string, string | number> = {
|
||||
...Object.fromEntries(customThemeStyle),
|
||||
...(data?.user?.roles.includes("MINOR_SUPPORT")
|
||||
? { "--layout-fuse-bottom-height": "0px" }
|
||||
: {}),
|
||||
};
|
||||
|
||||
return (
|
||||
<html
|
||||
lang={locale}
|
||||
dir={i18n.dir()}
|
||||
className={clsx(htmlThemeClass, "scrollbar")}
|
||||
style={Object.fromEntries(customThemeStyle)}
|
||||
style={htmlStyle}
|
||||
suppressHydrationWarning
|
||||
>
|
||||
<head>
|
||||
|
||||
@@ -253,6 +253,7 @@ html {
|
||||
*/
|
||||
--layout-nav-height: 55px;
|
||||
--layout-sidenav-width: 250px;
|
||||
--layout-fuse-bottom-height: 90px;
|
||||
--layout-main-padding: var(--s-3);
|
||||
--layout-sticky-top: calc(
|
||||
var(--layout-nav-height) +
|
||||
|
||||
Reference in New Issue
Block a user