* Multiple bug fixes

* Fixing modal on mobile
Этот коммит содержится в:
Asaad Mahmood
2017-03-09 20:05:11 +05:00
коммит произвёл George Goldberg
родитель cbead2d973
Коммит 6ff46f3050
5 изменённых файлов: 15 добавлений и 4 удалений

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

@@ -79,6 +79,7 @@ export default class AccessHistoryModal extends React.Component {
return ( return (
<Modal <Modal
dialogClassName='modal--scroll'
show={this.state.show} show={this.state.show}
onHide={this.onHide} onHide={this.onHide}
onExited={this.props.onHide} onExited={this.props.onHide}

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

@@ -275,6 +275,7 @@ export default class ActivityLogModal extends React.Component {
return ( return (
<Modal <Modal
dialogClassName='modal--scroll'
show={this.state.show} show={this.state.show}
onHide={this.onHide} onHide={this.onHide}
onExited={this.props.onHide} onExited={this.props.onHide}

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

@@ -51,6 +51,7 @@
.hljs { .hljs {
position: relative; position: relative;
visibility: visible;
} }
} }
@@ -163,11 +164,11 @@ code {
} }
.hljs { .hljs {
background: #f8f8f8;
color: #333;
display: block; display: block;
overflow-x: auto; overflow-x: auto;
padding: 0.5em; padding: 0.5em;
color: #333;
background: #f8f8f8;
} }
.container { .container {
@@ -175,7 +176,7 @@ code {
} }
.links { .links {
margin-top: 30px;
font-size: 1.2em; font-size: 1.2em;
margin-top: 30px;
} }
} }

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

@@ -550,6 +550,13 @@
} }
.modal { .modal {
.modal--scroll {
.modal-body {
max-height: calc(100vh - 62px);
overflow: auto;
}
}
.nav-pills { .nav-pills {
> li { > li {
&.active { &.active {

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

@@ -450,6 +450,7 @@
.signup-team-dir { .signup-team-dir {
background: #fafafa; background: #fafafa;
border-top: 1px solid #d5d5d5; border-top: 1px solid #d5d5d5;
overflow: hidden;
&:first-child { &:first-child {
border: none; border: none;
@@ -458,7 +459,7 @@
.icon { .icon {
cursor: pointer; cursor: pointer;
float: left; float: left;
margin: 18px 7px 0 15px; margin: 16px 7px 0 15px;
opacity: .45; opacity: .45;
svg { svg {