mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-26 23:42:11 -05:00
fix(developer): fixed height issue in dev tab
This commit is contained in:
parent
ef0644074c
commit
e814064001
3 changed files with 6 additions and 4 deletions
|
@ -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" }}>
|
||||||
|
|
Loading…
Reference in a new issue