Fix: Removed CSS file for Server Overview

This commit is contained in:
nizune 2021-07-09 23:08:00 +02:00
parent 252fec804d
commit a2211d9fd7
3 changed files with 22 additions and 18 deletions

View file

@ -1,4 +1,5 @@
import { Reply, File } from "@styled-icons/boxicons-regular"; import { Reply } from "@styled-icons/boxicons-regular";
import { File } from "@styled-icons/boxicons-solid";
import { SYSTEM_USER_ID } from "revolt.js"; import { SYSTEM_USER_ID } from "revolt.js";
import styled, { css } from "styled-components"; import styled, { css } from "styled-components";
@ -86,6 +87,10 @@ export const ReplyBase = styled.div<{
> * { > * {
pointer-events: none; pointer-events: none;
} }
> span {
display: flex;
}
} }
> svg:first-child { > svg:first-child {

View file

@ -8,7 +8,7 @@ import TextAreaAutoSize from "../../../lib/TextAreaAutoSize";
import { FileUploader } from "../../../context/revoltjs/FileUploads"; import { FileUploader } from "../../../context/revoltjs/FileUploads";
import { AppContext } from "../../../context/revoltjs/RevoltClient"; import { AppContext } from "../../../context/revoltjs/RevoltClient";
import styled, { css } from "styled-components";
import Button from "../../../components/ui/Button"; import Button from "../../../components/ui/Button";
import InputBox from "../../../components/ui/InputBox"; import InputBox from "../../../components/ui/InputBox";
@ -19,6 +19,19 @@ interface Props {
| Channels.VoiceChannel; | Channels.VoiceChannel;
} }
const Row = styled.div`
gap: 20px;
display: flex;
.name {
flex-grow: 1;
input {
width: 100%;
}
}
`;
export default function Overview({ channel }: Props) { export default function Overview({ channel }: Props) {
const client = useContext(AppContext); const client = useContext(AppContext);
@ -44,7 +57,7 @@ export default function Overview({ channel }: Props) {
return ( return (
<div className={styles.overview}> <div className={styles.overview}>
<div className={styles.row}> <Row>
<FileUploader <FileUploader
width={80} width={80}
height={80} height={80}
@ -87,7 +100,7 @@ export default function Overview({ channel }: Props) {
}} }}
/> />
</div> </div>
</div> </Row>
<h3> <h3>
{channel.channel_type === "Group" ? ( {channel.channel_type === "Group" ? (

View file

@ -1,14 +0,0 @@
.overview {
.row {
gap: 20px;
display: flex;
.name {
flex-grow: 1;
input {
width: 100%;
}
}
}
}