mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 08:38:37 +00:00
Add category editor to servers.
This commit is contained in:
@@ -172,9 +172,9 @@ export const MessageContent = styled.div`
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
// overflow: hidden;
|
||||
font-size: var(--text-size);
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
font-size: var(--text-size);
|
||||
`;
|
||||
|
||||
export const DetailBase = styled.div`
|
||||
|
||||
@@ -55,11 +55,13 @@ export const TipBase = styled.div<Props>`
|
||||
`}
|
||||
`;
|
||||
|
||||
export default function Tip(props: Props & { children: Children }) {
|
||||
const { children, ...tipProps } = props;
|
||||
export default function Tip(
|
||||
props: Props & { children: Children; hideSeparator?: boolean },
|
||||
) {
|
||||
const { children, hideSeparator, ...tipProps } = props;
|
||||
return (
|
||||
<>
|
||||
<Separator />
|
||||
{!hideSeparator && <Separator />}
|
||||
<TipBase {...tipProps}>
|
||||
<InfoCircle size={20} />
|
||||
<span>{props.children}</span>
|
||||
|
||||
Reference in New Issue
Block a user