修改样式
This commit is contained in:
parent
bce0f3e7e0
commit
5fbe4f2719
|
@ -23,9 +23,10 @@ import DefaultMask from "@/components/DefaultMask";
|
|||
import { getSpaceData, getStreamerInfo } from "@/api/space";
|
||||
import baseRequest from "@/utils/baseRequest";
|
||||
const anchors = [
|
||||
window.innerHeight - 280,
|
||||
window.innerHeight - 280,
|
||||
window.innerHeight - 60,
|
||||
typeof window !== "undefined" ? window.innerHeight - 280 : "100vh",
|
||||
typeof window !== "undefined" ? window.innerHeight - 180 : "100vh",
|
||||
typeof window !== "undefined" ? window.innerHeight - 60 : "100vh",
|
||||
// 200, 300, 400,
|
||||
];
|
||||
|
||||
export default function PersonSpace() {
|
||||
|
@ -390,7 +391,12 @@ export default function PersonSpace() {
|
|||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<FloatingPanel anchors={anchors} ref={scrollRef} className="bg-deepBg">
|
||||
<FloatingPanel
|
||||
anchors={anchors}
|
||||
ref={scrollRef}
|
||||
className="bg-deepBg"
|
||||
style={{ height: "calc(100vh - 60px)" }}
|
||||
>
|
||||
<JumboTabs
|
||||
onChange={(key) => setCurrentKey(key)}
|
||||
activeKey={currentKey}
|
||||
|
|
Loading…
Reference in New Issue