Commit fb04e21e authored by Emilio Cobos Álvarez's avatar Emilio Cobos Álvarez
Browse files

Bug 1790307 - Remove equalsize="always" usage from preferences. r=Gijs,preferences-reviewers

Emulated flexbox doesn't support this, but allows you to specify widths
in percentages instead, so do that.

Differential Revision: https://phabricator.services.mozilla.com/D157073
parent 0a815d20
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -429,7 +429,7 @@
                  data-l10n-attrs="placeholder"
                  aria-controls="handlersView"/>

  <listheader equalsize="always">
  <listheader id="handlersViewHeader">
    <treecol id="typeColumn" data-l10n-id="applications-type-column" value="type"
             persist="sortDirection"
             flex="1" sortDirection="ascending"/>
+13 −15
Original line number Diff line number Diff line
@@ -3234,7 +3234,6 @@ function getLocalHandlerApp(aFile) {
// eslint-disable-next-line no-undef
let gHandlerListItemFragment = MozXULElement.parseXULToFragment(`
  <richlistitem>
    <hbox flex="1" equalsize="always">
    <hbox class="typeContainer" flex="1" align="center">
      <image class="typeIcon" width="16" height="16"
              src="moz-icon://goat?size=16"/>
@@ -3249,7 +3248,6 @@ let gHandlerListItemFragment = MozXULElement.parseXULToFragment(`
        <menupopup/>
      </menulist>
    </hbox>
    </hbox>
  </richlistitem>
`);

+5 −0
Original line number Diff line number Diff line
@@ -382,6 +382,11 @@ checkbox {
  min-height: 30px;
}

#handlersViewHeader > treecol,
#handlersView > richlistitem > hbox {
  width: 50%;
}

#handlersView .actionsMenu {
  margin: 0;
  min-height: 0;