mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1820282 - standardize button styling in import error dialog. r=hjones,credential-management-reviewers,mtigley
use reusable button group component for generic dialog; add padding fix style err by adding semicolon Differential Revision: https://phabricator.services.mozilla.com/D171908
This commit is contained in:
parent
b42c4425d0
commit
c35c9375cd
@ -107,9 +107,9 @@
|
||||
</div>
|
||||
<a class="open-detailed-report" href="about:loginsimportreport" target="_blank" data-l10n-id="about-logins-alert-import-message"></a>
|
||||
</div>
|
||||
<div slot="buttons">
|
||||
<moz-button-group slot="buttons" class="buttons">
|
||||
<button class="dismiss-button primary" data-l10n-id="about-logins-import-dialog-done"></button>
|
||||
</div>
|
||||
</moz-button-group>
|
||||
</generic-dialog>
|
||||
</template>
|
||||
|
||||
@ -127,10 +127,10 @@
|
||||
<a class="error-learn-more-link" href="https://support.mozilla.org/kb/import-login-data-file"
|
||||
data-l10n-id="about-logins-import-dialog-error-learn-more" target="_blank" rel="noreferrer"></a>
|
||||
</div>
|
||||
<div slot="buttons" class="buttons">
|
||||
<moz-button-group slot="buttons" class="buttons">
|
||||
<button class="dismiss-button" data-l10n-id="about-logins-import-dialog-error-cancel"></button>
|
||||
<button class="try-import-again primary" data-l10n-id="about-logins-import-dialog-error-try-import-again"></button>
|
||||
</div>
|
||||
</moz-button-group>
|
||||
</generic-dialog>
|
||||
</template>
|
||||
|
||||
|
@ -55,17 +55,8 @@
|
||||
::slotted([slot="buttons"]) {
|
||||
grid-column: 1 / 4;
|
||||
grid-row-start: 3;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
border-top: 1px solid var(--in-content-border-color);
|
||||
padding-top: 12px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
button {
|
||||
min-width: 170px;
|
||||
min-height: 30px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.dialog-body {
|
||||
|
Loading…
Reference in New Issue
Block a user