fix: default canvas to dark mode and hide legacy community-info box
Canvas page was hardcoded to data-theme="light" while all other pages default to dark. Also hides the redundant #community-info overlay (slug/URL box) since the shell header space switcher already shows this. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b12cc52892
commit
783be14a11
|
|
@ -246,14 +246,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#community-info {
|
#community-info {
|
||||||
position: fixed;
|
display: none;
|
||||||
top: 72px;
|
|
||||||
left: 16px;
|
|
||||||
padding: 8px 16px;
|
|
||||||
background: white;
|
|
||||||
border-radius: 8px;
|
|
||||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
||||||
z-index: 1000;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#community-info h2 {
|
#community-info h2 {
|
||||||
|
|
@ -862,8 +855,8 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body data-theme="light">
|
<body data-theme="dark">
|
||||||
<header class="rstack-header" data-theme="light">
|
<header class="rstack-header" data-theme="dark">
|
||||||
<div class="rstack-header__left">
|
<div class="rstack-header__left">
|
||||||
<a href="/" style="display:flex;align-items:center;margin-right:4px"><img src="/logo.png" alt="rSpace" class="rstack-header__logo"></a>
|
<a href="/" style="display:flex;align-items:center;margin-right:4px"><img src="/logo.png" alt="rSpace" class="rstack-header__logo"></a>
|
||||||
<rstack-app-switcher current="canvas"></rstack-app-switcher>
|
<rstack-app-switcher current="canvas"></rstack-app-switcher>
|
||||||
|
|
@ -877,7 +870,7 @@
|
||||||
<rstack-identity></rstack-identity>
|
<rstack-identity></rstack-identity>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div class="rstack-tab-row" data-theme="light">
|
<div class="rstack-tab-row" data-theme="dark">
|
||||||
<rstack-tab-bar space="" active="" view-mode="flat"></rstack-tab-bar>
|
<rstack-tab-bar space="" active="" view-mode="flat"></rstack-tab-bar>
|
||||||
</div>
|
</div>
|
||||||
<div id="community-info">
|
<div id="community-info">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue