1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 18:02:54 +01:00

Scrollbars fill the whole dialog

This commit is contained in:
Marcel Gerber 2014-04-30 22:12:36 +02:00
parent e9a7c06db2
commit fb7ed90d5f
2 changed files with 8 additions and 6 deletions

View File

@ -2,7 +2,7 @@
<div class="modal-header">
<h1 class="dialog-title">{{UPDATE_AVAILABLE_TITLE}}</h1>
</div>
<div class="modal-body">
<div class="modal-body no-padding">
<img class="update-icon" src="styles/images/update_large_icon.svg">
<div class="update-text">
<p class="dialog-message">{{UPDATE_MESSAGE}}</p>

View File

@ -694,7 +694,7 @@ a[href^="http"] {
/* Update dialog */
.update-dialog .modal-body {
padding-bottom: 0;
margin-right: 0; // the scrollbar should be at the right edge
position: relative;
.update-icon {
position: absolute;
@ -705,12 +705,14 @@ a[href^="http"] {
}
.update-text {
// Icon is 120px, so we need at least that much left padding/margin to avoid overlap
margin: 0 10px 0 123px;
margin: 0 0 0 123px;
padding-top: 20px;
max-height: 280px;
overflow: auto;
.update-info {
max-height: 280px;
overflow: auto;
margin-right: 10px;
// Enable text selection
cursor: auto;
.user-select(text);