mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
Fix: Removed CSS file for Server Overview
This commit is contained in:
@@ -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" ? (
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
.overview {
|
||||
.row {
|
||||
gap: 20px;
|
||||
display: flex;
|
||||
|
||||
.name {
|
||||
flex-grow: 1;
|
||||
|
||||
input {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user