Disabling help stuff and moving preview out of it
Этот коммит содержится в:
@@ -194,7 +194,6 @@ export default class Textbox extends React.Component {
|
|||||||
defaultMessage='>quote'
|
defaultMessage='>quote'
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
{previewLink}
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -230,16 +229,19 @@ export default class Textbox extends React.Component {
|
|||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
{helpText}
|
{helpText}
|
||||||
<a
|
<div className='help__text'>
|
||||||
target='_blank'
|
{previewLink}
|
||||||
href='http://docs.mattermost.com/help/getting-started/messaging-basics.html'
|
<a
|
||||||
className='textbox-help-link'
|
target='_blank'
|
||||||
>
|
href='http://docs.mattermost.com/help/getting-started/messaging-basics.html'
|
||||||
<FormattedMessage
|
className='textbox-help-link'
|
||||||
id='textbox.help'
|
>
|
||||||
defaultMessage='Help'
|
<FormattedMessage
|
||||||
/>
|
id='textbox.help'
|
||||||
</a>
|
defaultMessage='Help'
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,23 +58,27 @@ body.ios {
|
|||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
}
|
}
|
||||||
.textbox-help-link {
|
.help__text {
|
||||||
|
right: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
bottom: -23px;
|
bottom: -23px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.textbox-help-link {
|
.textbox-preview-link {
|
||||||
right: 0;
|
margin-right: 8px;
|
||||||
}
|
}
|
||||||
min-height:36px;
|
min-height:36px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help_format_text {
|
.help_format_text {
|
||||||
|
display: none !important;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: -23px;
|
bottom: -23px;
|
||||||
right: 40px;
|
left: 0px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
font-size: 0.85em;
|
font-size: 0.85em;
|
||||||
@include opacity(0);
|
@include opacity(0);
|
||||||
@include single-transition(all 0.2s ease);
|
@include single-transition(all 0.2s ease);
|
||||||
@@ -391,15 +395,16 @@ body.ios {
|
|||||||
top: -5px;
|
top: -5px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.msg-typing {
|
}
|
||||||
min-height: 25px;
|
.msg-typing {
|
||||||
display: block;
|
display: block;
|
||||||
@include opacity(0.7);
|
@include opacity(0.7);
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
width: 80%;
|
margin-bottom: 5px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
font-size: 0.95em;
|
||||||
}
|
text-overflow: ellipsis;
|
||||||
|
height: 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user