mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-09 21:00:42 +02:00
https://hg.mozilla.org/mozilla-central/rev/234701139a2a61d1262e609c9d8ac42384ecafda Removed the following CSS rule: #iconContainer { -moz-box-pack: center; min-height: 55px; /* maximum icon height + icon margin */ min-width: 58px; /* maximum icon width + icon margin */ } Which enforced the size of the icon row. The icon loads asynchronously, so by the first time we fire DOMContentLoaded it may not have loaded yet. This means that sizeToContent() will size the window to an smaller size and stuff will wrap around when it loads. <image> doesn't block onload so even delaying this wouldn't work. Restore the wrapper to ensure loading the icon or not doesn't affect layout of the dialog. Differential Revision: https://phabricator.services.mozilla.com/D58705 --HG-- extra : moz-landing-system : lando
37 lines
658 B
CSS
37 lines
658 B
CSS
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
:root {
|
|
min-width: 29em;
|
|
}
|
|
|
|
#dialogGrid {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
align-items: center;
|
|
}
|
|
|
|
.dialogRow:not([hidden]) {
|
|
display: contents;
|
|
}
|
|
|
|
#iconContainer {
|
|
align-self: start;
|
|
}
|
|
|
|
#infoContainer {
|
|
max-width: 45em;
|
|
}
|
|
|
|
#infoBody {
|
|
-moz-user-focus: normal;
|
|
-moz-user-select: text;
|
|
cursor: text !important;
|
|
white-space: pre-wrap;
|
|
unicode-bidi: plaintext;
|
|
}
|
|
|
|
#loginLabel, #password1Label {
|
|
text-align: end;
|
|
}
|