forked from abner/for-legacy-web
fix(message): re-added click to usericon
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { Markdown } from "@styled-icons/boxicons-logos";
|
||||
import isEqual from "lodash.isequal";
|
||||
import { observer } from "mobx-react-lite";
|
||||
import { Server } from "revolt.js/dist/maps/Servers";
|
||||
@@ -84,7 +85,7 @@ export const Overview = observer(({ server }: Props) => {
|
||||
</h3>
|
||||
<TextAreaAutoSize
|
||||
maxRows={10}
|
||||
minHeight={60}
|
||||
minHeight={120}
|
||||
maxLength={1024}
|
||||
value={description}
|
||||
placeholder={"Add a topic..."}
|
||||
@@ -93,6 +94,19 @@ export const Overview = observer(({ server }: Props) => {
|
||||
if (!changed) setChanged(true);
|
||||
}}
|
||||
/>
|
||||
<div className={styles.markdown}>
|
||||
<Markdown size="24" />
|
||||
<h5>
|
||||
Descriptions support Markdown formatting,{" "}
|
||||
<a
|
||||
href="https://developers.revolt.chat/markdown"
|
||||
target="_blank"
|
||||
rel="noreferrer">
|
||||
learn more here
|
||||
</a>
|
||||
.
|
||||
</h5>
|
||||
</div>
|
||||
<hr />
|
||||
<h3>
|
||||
<Text id="app.main.servers.custom_banner" />
|
||||
|
||||
@@ -15,6 +15,25 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.markdown {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 8px;
|
||||
gap: 4px;
|
||||
|
||||
svg {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
h5 {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.userList {
|
||||
|
||||
Reference in New Issue
Block a user