Improvements to preview textarea and about modal

Этот коммит содержится в:
Asaad Mahmood
2016-03-31 17:55:26 +05:00
родитель dd20f2c697
Коммит c67bcba3ae
4 изменённых файлов: 34 добавлений и 33 удалений

Просмотреть файл

@@ -71,7 +71,7 @@ export default class AboutBuildModal extends React.Component {
</Modal.Title> </Modal.Title>
</Modal.Header> </Modal.Header>
<Modal.Body> <Modal.Body>
<h4>{'Mattermost'} {title}</h4> <h4 className='padding-bottom x2'>{'Mattermost'} {title}</h4>
{licensee} {licensee}
<div className='row form-group'> <div className='row form-group'>
<div className='col-sm-3 info__label'> <div className='col-sm-3 info__label'>

Просмотреть файл

@@ -39,6 +39,38 @@
} }
} }
.padding-top {
padding-top: 7px;
&.x2 {
padding-top: 14px;
}
&.x3 {
padding-top: 21px;
}
}
.padding-bottom {
padding-bottom: 7px;
&.x2 {
padding-bottom: 14px;
}
&.x3 {
padding-bottom: 21px;
}
.control-label {
font-weight: 600;
&.text-left {
text-align: left;
}
}
}
.custom-textarea { .custom-textarea {
border-color: $light-gray; border-color: $light-gray;
color: inherit; color: inherit;

Просмотреть файл

@@ -377,6 +377,7 @@ body.ios {
} }
.custom-textarea { .custom-textarea {
bottom: 0;
line-height: 1.5; line-height: 1.5;
max-height: 162px !important; max-height: 162px !important;
padding-right: 28px; padding-right: 28px;

Просмотреть файл

@@ -51,38 +51,6 @@
padding-left: 0; padding-left: 0;
} }
.padding-top {
padding-top: 7px;
&.x2 {
padding-top: 14px;
}
&.x3 {
padding-top: 21px;
}
}
.padding-bottom {
padding-bottom: 7px;
&.x2 {
padding-bottom: 14px;
}
&.x3 {
padding-bottom: 21px;
}
.control-label {
font-weight: 600;
&.text-left {
text-align: left;
}
}
}
.profile-img { .profile-img {
height: 128px; height: 128px;
width: 128px; width: 128px;