mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-22 15:10:57 -05:00
fix(messagebox): fixed padding
This commit is contained in:
parent
196bbe2634
commit
c5461f3134
2 changed files with 11 additions and 5 deletions
|
@ -109,6 +109,15 @@ const Action = styled.div`
|
||||||
`}
|
`}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
const FileAction = styled.div`
|
||||||
|
> div {
|
||||||
|
height: 48px;
|
||||||
|
width: 62px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
`;
|
||||||
|
|
||||||
// For sed replacement
|
// For sed replacement
|
||||||
const RE_SED = new RegExp("^s/([^])*/([^])*$");
|
const RE_SED = new RegExp("^s/([^])*/([^])*$");
|
||||||
|
|
||||||
|
@ -458,7 +467,7 @@ export default observer(({ channel }: Props) => {
|
||||||
/>
|
/>
|
||||||
<Base>
|
<Base>
|
||||||
{channel.permission & ChannelPermission.UploadFiles ? (
|
{channel.permission & ChannelPermission.UploadFiles ? (
|
||||||
<Action>
|
<FileAction>
|
||||||
<FileUploader
|
<FileUploader
|
||||||
size={24}
|
size={24}
|
||||||
behaviour="multi"
|
behaviour="multi"
|
||||||
|
@ -493,7 +502,7 @@ export default observer(({ channel }: Props) => {
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Action>
|
</FileAction>
|
||||||
) : undefined}
|
) : undefined}
|
||||||
<TextAreaAutoSize
|
<TextAreaAutoSize
|
||||||
autoFocus
|
autoFocus
|
||||||
|
|
|
@ -40,13 +40,10 @@ const OverlayBar = styled.div`
|
||||||
align-self: end;
|
align-self: end;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
right: 0;
|
right: 0;
|
||||||
top: -18px;
|
top: -18px;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
//overflow: hidden;
|
|
||||||
transition: box-shadow 0.1s ease-out;
|
transition: box-shadow 0.1s ease-out;
|
||||||
|
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background: var(--primary-header);
|
background: var(--primary-header);
|
||||||
border: 1px solid var(--background);
|
border: 1px solid var(--background);
|
||||||
|
|
Loading…
Reference in a new issue