Advanced text editor misc fixes (#29676)
* removed extra space * Fixed border of edit box in mobile view * Fixed test
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
f95809ef5d
Коммит
2a6beb1237
@@ -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>
|
||||
|
||||
Ссылка в новой задаче
Block a user