зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1605939 - allow downloads view to scroll by not enclosing it in a stack that sizes to match the view size, r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D58220 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
3b0c2d1abd
Коммит
7e239672ac
|
@ -2,11 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#downloadsListEmptyDescription {
|
||||
#downloadsRichListBox:not(:empty) + #downloadsListEmptyDescription,
|
||||
#downloadsRichListBox:empty {
|
||||
display: none;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
#downloadsRichListBox:empty + #downloadsListEmptyDescription {
|
||||
display: -moz-box;
|
||||
}
|
||||
|
|
|
@ -39,14 +39,12 @@
|
|||
</keyset>
|
||||
#endif
|
||||
|
||||
<stack flex="1">
|
||||
<richlistbox flex="1"
|
||||
seltype="multiple"
|
||||
id="downloadsRichListBox"
|
||||
context="downloadsContextMenu"/>
|
||||
<description id="downloadsListEmptyDescription"
|
||||
value="&downloadsListEmpty.label;"/>
|
||||
</stack>
|
||||
<richlistbox flex="1"
|
||||
seltype="multiple"
|
||||
id="downloadsRichListBox"
|
||||
context="downloadsContextMenu"/>
|
||||
<description id="downloadsListEmptyDescription"
|
||||
value="&downloadsListEmpty.label;"/>
|
||||
#include downloadsCommands.inc.xhtml
|
||||
#include downloadsStrings.inc.xhtml
|
||||
#include downloadsContextMenu.inc.xhtml
|
||||
|
|
Загрузка…
Ссылка в новой задаче