Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

Commit 30f6457

Browse files
committed
Fix error/notification box displaying over dialog
1 parent 19a5e7c commit 30f6457

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

app/styles/less/main.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ div[role=raml-editor] {
3939
}
4040

4141
div[role=raml-editor] > div[role=notifications] {
42-
z-index: 1045;
42+
z-index: 1051; // must be bigger than dialog z-index
4343
background-color: #caccd4;
4444
position: absolute;
4545
top: 0px;

app/styles/less/modal.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ label {
436436
// Automatically set modal's width for larger viewports
437437
.modal-dialog {
438438
width: @modal-md;
439-
margin: 30px auto;
439+
margin: 75px auto 0;
440440
}
441441
.modal-content {
442442
.box-shadow(0 5px 15px rgba(0,0,0,.5));

dist/styles/api-designer.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ div[role=raml-editor] .hide-display {
4040
display: none !important;
4141
}
4242
div[role=raml-editor] > div[role=notifications] {
43-
z-index: 1045;
43+
z-index: 1051;
4444
background-color: #caccd4;
4545
position: absolute;
4646
top: 0px;
@@ -1300,7 +1300,7 @@ label {
13001300
@media (min-width: 768px) {
13011301
.modal-dialog {
13021302
width: 600px;
1303-
margin: 30px auto;
1303+
margin: 75px auto 0;
13041304
}
13051305
.modal-content {
13061306
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);

dist/styles/api-designer.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)