fix(messagebox): fixed broken padding
parent
852b9ca345
commit
762b689322
|
|
@ -1,4 +1,4 @@
|
||||||
import { Send, ShieldX } from "@styled-icons/boxicons-solid";
|
import { Send, ShieldX, HappyBeaming, Box } from "@styled-icons/boxicons-solid";
|
||||||
import Axios, { CancelTokenSource } from "axios";
|
import Axios, { CancelTokenSource } from "axios";
|
||||||
import { observer } from "mobx-react-lite";
|
import { observer } from "mobx-react-lite";
|
||||||
import { ChannelPermission } from "revolt.js/dist/api/permissions";
|
import { ChannelPermission } from "revolt.js/dist/api/permissions";
|
||||||
|
|
@ -78,9 +78,11 @@ const Blocked = styled.div`
|
||||||
user-select: none;
|
user-select: none;
|
||||||
font-size: var(--text-size);
|
font-size: var(--text-size);
|
||||||
color: var(--tertiary-foreground);
|
color: var(--tertiary-foreground);
|
||||||
|
flex-grow: 1;
|
||||||
|
cursor: not-allowed;
|
||||||
|
|
||||||
.text {
|
> div > div {
|
||||||
padding: 14px;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
|
|
@ -91,17 +93,13 @@ const Blocked = styled.div`
|
||||||
const Action = styled.div`
|
const Action = styled.div`
|
||||||
> div {
|
> div {
|
||||||
height: 48px;
|
height: 48px;
|
||||||
width: 34px;
|
width: 48px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: end;
|
justify-content: center;
|
||||||
/*padding: 14px 0 14px 14px;*/
|
/*padding: 14px 0 14px 14px;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobile {
|
|
||||||
justify-content: start;
|
|
||||||
}
|
|
||||||
|
|
||||||
${() =>
|
${() =>
|
||||||
!isTouchscreenDevice &&
|
!isTouchscreenDevice &&
|
||||||
css`
|
css`
|
||||||
|
|
@ -575,10 +573,17 @@ export default observer(({ channel }: Props) => {
|
||||||
onFocus={onFocus}
|
onFocus={onFocus}
|
||||||
onBlur={onBlur}
|
onBlur={onBlur}
|
||||||
/>
|
/>
|
||||||
|
{/*<Action>
|
||||||
|
<IconButton>
|
||||||
|
<Box size={24} />
|
||||||
|
</IconButton>
|
||||||
|
</Action>
|
||||||
|
<Action>
|
||||||
|
<IconButton>
|
||||||
|
<HappyBeaming size={24} />
|
||||||
|
</IconButton>
|
||||||
|
</Action>*/}
|
||||||
<Action>
|
<Action>
|
||||||
{/*<IconButton onClick={emojiPicker}>
|
|
||||||
<HappyAlt size={20} />
|
|
||||||
</IconButton>*/}
|
|
||||||
<IconButton
|
<IconButton
|
||||||
className="mobile"
|
className="mobile"
|
||||||
onClick={send}
|
onClick={send}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue