mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Limiting history modal height and width
This commit is contained in:
parent
725859ba43
commit
41999b9949
@ -130,9 +130,10 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
z-index: z("modal","content");
|
z-index: z("modal","content");
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
&:not(.history-modal) {
|
||||||
.modal-body {
|
.modal-body {
|
||||||
max-height: none !important;
|
max-height: none !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,9 +3,11 @@
|
|||||||
.modal.history-modal {
|
.modal.history-modal {
|
||||||
|
|
||||||
.modal-inner-container {
|
.modal-inner-container {
|
||||||
min-height: 500px;
|
|
||||||
max-width: 960px;
|
max-width: 960px;
|
||||||
}
|
}
|
||||||
|
.modal-body {
|
||||||
|
height: 70vh;
|
||||||
|
}
|
||||||
#revision-controls {
|
#revision-controls {
|
||||||
.btn[disabled] {
|
.btn[disabled] {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
|
@ -2,6 +2,15 @@
|
|||||||
button {
|
button {
|
||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
|
.modal-body {
|
||||||
|
height: 62vh;
|
||||||
|
}
|
||||||
|
.modal-inner-container {
|
||||||
|
min-height: 400px;
|
||||||
|
}
|
||||||
|
#revisions {
|
||||||
|
max-width: 90vw;
|
||||||
|
}
|
||||||
#display-modes {
|
#display-modes {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user