Bug 1868079 - Make sure all folder properties dialog tabs are visible. r=freaktechnik

Differential Revision: https://phabricator.services.mozilla.com/D195405

--HG--
extra : rebase_source : 6c197fb5ae17be655c519bfe43077d913896612e
extra : amend_source : 70b0fd4ad1a1baa1a9fa133e40006b675d84c9d1
This commit is contained in:
Magnus Melin 2023-12-13 17:57:48 +02:00
Родитель 5e62055ce2
Коммит 2f3f0d441d
2 изменённых файлов: 13 добавлений и 10 удалений

Просмотреть файл

@ -2,9 +2,18 @@
* 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/. */
#folderPropertiesDialog {
min-height: 25em;
max-width: 50em;
html {
min-height: 370px;
min-width: 750px;
}
body {
height: 100vh;
margin: 0;
}
description {
max-width: 80vw;
}
#nameBox {

Просмотреть файл

@ -1,5 +1,4 @@
<?xml version="1.0"?>
<!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
<!-- 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 https://mozilla.org/MPL/2.0/. -->
@ -21,7 +20,6 @@
<link rel="stylesheet" href="chrome://messenger/skin/folderProps.css" />
<link rel="stylesheet" href="chrome://messenger/skin/colors.css" />
<link rel="stylesheet" href="chrome://messenger/skin/folderColors.css" />
<link rel="localization" href="messenger/folderprops.ftl" />
<script
defer="defer"
@ -47,11 +45,7 @@
<html:body
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
>
<!-- NOTE: The body both has a -moz-box display (from messenger.css). We give
- the child dialog a style `width` of `0` as a kind of "flex-basis". This
- ensures that sizeToContent (called in dialog.js) does not stretch the
- dialog to the max-content width of the xul:description elements. -->
<dialog id="folderPropertiesDialog" buttons="accept,cancel">
<dialog id="folderPropertiesDialog">
<tabbox id="folderPropTabBox">
<tabs id="folderPropTabs">
<tab id="GeneralTab" label="&generalInfo.label;" />