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

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

View File

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