forked from mirrors/gecko-dev
Bug 1903259 - Simplify popupnotification markup. r=dao a=RyanVM
I think this is preferable and seems to work. Differential Revision: https://phabricator.services.mozilla.com/D214875
This commit is contained in:
parent
5c0251e4e9
commit
913783a1e3
1 changed files with 7 additions and 11 deletions
|
|
@ -77,23 +77,19 @@
|
|||
<hbox align="start" class="popup-notification-body-container">
|
||||
<image class="popup-notification-icon"/>
|
||||
<vbox pack="start" class="popup-notification-body">
|
||||
<hbox align="start">
|
||||
<vbox flex="1">
|
||||
<label class="popup-notification-origin header" crop="center"></label>
|
||||
<!-- These need to be on the same line to avoid creating
|
||||
whitespace between them (whitespace is added in the
|
||||
localization file, if necessary). -->
|
||||
<description class="popup-notification-description"><html:span></html:span><html:b></html:b><html:span></html:span><html:b></html:b><html:span></html:span></description>
|
||||
<description class="popup-notification-hint-text"></description>
|
||||
</vbox>
|
||||
<toolbarbutton class="messageCloseButton close-icon popup-notification-closebutton tabbable" data-l10n-id="close-notification-message"></toolbarbutton>
|
||||
</hbox>
|
||||
<label class="popup-notification-origin header" crop="center"></label>
|
||||
<!-- These need to be on the same line to avoid creating
|
||||
whitespace between them (whitespace is added in the
|
||||
localization file, if necessary). -->
|
||||
<description class="popup-notification-description"><html:span></html:span><html:b></html:b><html:span></html:span><html:b></html:b><html:span></html:span></description>
|
||||
<description class="popup-notification-hint-text"></description>
|
||||
<vbox class="popup-notification-bottom-content" align="start">
|
||||
<label class="popup-notification-learnmore-link" is="text-link" data-l10n-id="popup-notification-learn-more"></label>
|
||||
<checkbox class="popup-notification-checkbox" oncommand="PopupNotifications._onCheckboxCommand(event)"/>
|
||||
<description class="popup-notification-warning"/>
|
||||
</vbox>
|
||||
</vbox>
|
||||
<toolbarbutton class="messageCloseButton close-icon popup-notification-closebutton tabbable" data-l10n-id="close-notification-message"></toolbarbutton>
|
||||
</hbox>
|
||||
<hbox class="popup-notification-footer-container"></hbox>
|
||||
<html:moz-button-group class="panel-footer">
|
||||
|
|
|
|||
Loading…
Reference in a new issue