Multiple Ui fixes (#6272)
* PLT-6453 - Improving headings in the web app * PLT-6414 - Fixing view members modal issue * PLT-5863 - Fixing alignment in new channel menu * PLT-6391 - Fixing code block overlay
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
6f6b7e4e97
Коммит
5ab7726c1e
@@ -118,6 +118,7 @@ export default class CodePreview extends React.Component {
|
|||||||
<span className='post-code__language'>
|
<span className='post-code__language'>
|
||||||
{`${this.props.fileInfo.name} - ${language}`}
|
{`${this.props.fileInfo.name} - ${language}`}
|
||||||
</span>
|
</span>
|
||||||
|
<div className='post-code__container'>
|
||||||
<code className='hljs'>
|
<code className='hljs'>
|
||||||
<table>
|
<table>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -129,6 +130,7 @@ export default class CodePreview extends React.Component {
|
|||||||
</table>
|
</table>
|
||||||
</code>
|
</code>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ export default class NewChannelModal extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.props.serverError) {
|
if (this.props.serverError) {
|
||||||
serverError = <div className='form-group has-error'><p className='input__help error'>{this.props.serverError}</p></div>;
|
serverError = <div className='form-group has-error'><div className='col-sm-12'><p className='input__help error'>{this.props.serverError}</p></div></div>;
|
||||||
}
|
}
|
||||||
|
|
||||||
let createPublicChannelLink = (
|
let createPublicChannelLink = (
|
||||||
|
|||||||
@@ -177,8 +177,7 @@ export default class PopoverListMembers extends React.Component {
|
|||||||
className='more-modal__row'
|
className='more-modal__row'
|
||||||
key={'popover-member-more'}
|
key={'popover-member-more'}
|
||||||
>
|
>
|
||||||
<div className='col-sm-3'/>
|
<div className='more-modal__details text-center'>
|
||||||
<div className='more-modal__details'>
|
|
||||||
<div
|
<div
|
||||||
className='more-modal__name'
|
className='more-modal__name'
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -275,6 +275,10 @@
|
|||||||
overflow-y: visible;
|
overflow-y: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post-code__container {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.modal-image__wrapper {
|
.modal-image__wrapper {
|
||||||
@include border-radius(3px);
|
@include border-radius(3px);
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
|
|||||||
@@ -71,7 +71,7 @@
|
|||||||
|
|
||||||
.form__label {
|
.form__label {
|
||||||
&.control-label {
|
&.control-label {
|
||||||
color: inherit;
|
color: inherit !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,12 @@
|
|||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.member-popover__trigger {
|
||||||
|
& + div {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.member-popover__trigger {
|
.member-popover__trigger {
|
||||||
.fa {
|
.fa {
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
|
|||||||
@@ -1,11 +1,36 @@
|
|||||||
@charset 'UTF-8';
|
@charset 'UTF-8';
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
font-size: 19px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h5 {
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h6 {
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
.markdown__link {
|
.markdown__link {
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown__heading {
|
.markdown__heading {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
|
margin: 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown__paragraph-inline {
|
.markdown__paragraph-inline {
|
||||||
|
|||||||
@@ -33,6 +33,7 @@
|
|||||||
.col__reply {
|
.col__reply {
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
border: none !important;
|
border: none !important;
|
||||||
|
right: 5px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -167,7 +167,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 6;
|
z-index: 11;
|
||||||
|
|
||||||
.overlay__indent {
|
.overlay__indent {
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
@@ -361,7 +361,7 @@
|
|||||||
.post-create__container {
|
.post-create__container {
|
||||||
@include flex(0 0 auto);
|
@include flex(0 0 auto);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 1000;
|
z-index: 9;
|
||||||
|
|
||||||
label {
|
label {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
|||||||
@@ -727,8 +727,17 @@
|
|||||||
z-index: 5;
|
z-index: 5;
|
||||||
|
|
||||||
.modal-title {
|
.modal-title {
|
||||||
|
max-width: 100%;
|
||||||
|
padding: 0 40px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
> span {
|
||||||
|
display: block;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user