mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 08:38:37 +00:00
fix(developer): fixed height issue in dev tab
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import { X, Crown } from "@styled-icons/boxicons-regular";
|
import { X } from "@styled-icons/boxicons-regular";
|
||||||
|
import { Crown } from "@styled-icons/boxicons-solid";
|
||||||
import { observer } from "mobx-react-lite";
|
import { observer } from "mobx-react-lite";
|
||||||
import { Presence } from "revolt-api/types/Users";
|
import { Presence } from "revolt-api/types/Users";
|
||||||
import { Channel } from "revolt.js/dist/maps/Channels";
|
import { Channel } from "revolt.js/dist/maps/Channels";
|
||||||
|
|||||||
@@ -22,11 +22,11 @@ import { GenericSidebarBase } from "../SidebarBase";
|
|||||||
import MemberList, { MemberListGroup } from "./MemberList";
|
import MemberList, { MemberListGroup } from "./MemberList";
|
||||||
|
|
||||||
export const Container = styled.div`
|
export const Container = styled.div`
|
||||||
margin-top: 48px;
|
padding-top: 48px;
|
||||||
|
|
||||||
${isTouchscreenDevice &&
|
${isTouchscreenDevice &&
|
||||||
css`
|
css`
|
||||||
margin-top: 0;
|
padding-top: 0;
|
||||||
`}
|
`}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
@@ -172,6 +172,7 @@ export const GroupMemberSidebar = observer(
|
|||||||
<Container>
|
<Container>
|
||||||
{isTouchscreenDevice && <div>Group settings go here</div>}
|
{isTouchscreenDevice && <div>Group settings go here</div>}
|
||||||
</Container>
|
</Container>
|
||||||
|
|
||||||
<MemberList entries={entries} context={channel} />
|
<MemberList entries={entries} context={channel} />
|
||||||
</GenericSidebarBase>
|
</GenericSidebarBase>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ export default function Developer() {
|
|||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<PageHeader icon={<Wrench size="24" />}>Developer Tab</PageHeader>
|
<PageHeader icon={<Wrench size="24" />}>Developer Tab</PageHeader>
|
||||||
<div style={{ padding: "16px" }}>
|
<div style={{ padding: "16px", paddingTop: "56px" }}>
|
||||||
<PaintCounter always />
|
<PaintCounter always />
|
||||||
</div>
|
</div>
|
||||||
<div style={{ padding: "16px" }}>
|
<div style={{ padding: "16px" }}>
|
||||||
|
|||||||
Reference in New Issue
Block a user