mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-28 04:35:04 -04:00
Advanced text editor misc fixes (#29676)
* removed extra space * Fixed border of edit box in mobile view * Fixed test
This commit is contained in:
parent
f95809ef5d
commit
2a6beb1237
3 changed files with 21 additions and 19 deletions
|
|
@ -202,27 +202,29 @@
|
|||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.AdvancedTextEditor {
|
||||
padding: 0;
|
||||
#post-create {
|
||||
.AdvancedTextEditor {
|
||||
padding: 0;
|
||||
|
||||
&__body {
|
||||
border-radius: 0;
|
||||
border-right: none;
|
||||
border-left: none;
|
||||
|
||||
&:focus-visible,
|
||||
&:focus-within,
|
||||
&:focus-visible:hover,
|
||||
&:focus-within:hover,
|
||||
&:hover {
|
||||
&__body {
|
||||
border-radius: 0;
|
||||
border-right: none;
|
||||
border-left: none;
|
||||
}
|
||||
}
|
||||
|
||||
.ThreadViewer & {
|
||||
.msg-typing:empty {
|
||||
display: none;
|
||||
&:focus-visible,
|
||||
&:focus-within,
|
||||
&:focus-visible:hover,
|
||||
&:focus-within:hover,
|
||||
&:hover {
|
||||
border-right: none;
|
||||
border-left: none;
|
||||
}
|
||||
}
|
||||
|
||||
.ThreadViewer & {
|
||||
.msg-typing:empty {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ exports[`components/channel_view Should match snapshot with base props 1`] = `
|
|||
channelId="channelId"
|
||||
/>
|
||||
<div
|
||||
className="post-create__container"
|
||||
className="post-create__container AdvancedTextEditor__ctr"
|
||||
data-testid="post-create"
|
||||
id="post-create"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ export default class ChannelView extends React.PureComponent<Props, State> {
|
|||
<div
|
||||
id='post-create'
|
||||
data-testid='post-create'
|
||||
className='post-create__container'
|
||||
className='post-create__container AdvancedTextEditor__ctr'
|
||||
>
|
||||
<AdvancedCreatePost/>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue