mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-10 01:03:36 -05:00
Fix: Removed CSS file for Server Overview
This commit is contained in:
parent
252fec804d
commit
a2211d9fd7
3 changed files with 22 additions and 18 deletions
|
@ -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 styled, { css } from "styled-components";
|
||||
|
||||
|
@ -86,6 +87,10 @@ export const ReplyBase = styled.div<{
|
|||
> * {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
> span {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
> svg:first-child {
|
||||
|
|
|
@ -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%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue