mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-26 07:22:10 -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 { Presence } from "revolt-api/types/Users";
|
||||
import { Channel } from "revolt.js/dist/maps/Channels";
|
||||
|
|
|
@ -22,11 +22,11 @@ import { GenericSidebarBase } from "../SidebarBase";
|
|||
import MemberList, { MemberListGroup } from "./MemberList";
|
||||
|
||||
export const Container = styled.div`
|
||||
margin-top: 48px;
|
||||
padding-top: 48px;
|
||||
|
||||
${isTouchscreenDevice &&
|
||||
css`
|
||||
margin-top: 0;
|
||||
padding-top: 0;
|
||||
`}
|
||||
`;
|
||||
|
||||
|
@ -172,6 +172,7 @@ export const GroupMemberSidebar = observer(
|
|||
<Container>
|
||||
{isTouchscreenDevice && <div>Group settings go here</div>}
|
||||
</Container>
|
||||
|
||||
<MemberList entries={entries} context={channel} />
|
||||
</GenericSidebarBase>
|
||||
);
|
||||
|
|
|
@ -29,7 +29,7 @@ export default function Developer() {
|
|||
return (
|
||||
<div>
|
||||
<PageHeader icon={<Wrench size="24" />}>Developer Tab</PageHeader>
|
||||
<div style={{ padding: "16px" }}>
|
||||
<div style={{ padding: "16px", paddingTop: "56px" }}>
|
||||
<PaintCounter always />
|
||||
</div>
|
||||
<div style={{ padding: "16px" }}>
|
||||
|
|
Loading…
Reference in a new issue