зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1889107, fix alignment of credit card labels in autofill dropdown, r=credential-management-reviewers,desktop-theme-reviewers,sfoster,issammani
Differential Revision: https://phabricator.services.mozilla.com/D207045
This commit is contained in:
Родитель
11e8c7afcf
Коммит
868e67ed2a
|
@ -178,11 +178,16 @@
|
|||
opacity: 1;
|
||||
}
|
||||
|
||||
&[originaltype="autofill"] > .two-line-wrapper > .ac-site-icon {
|
||||
width: auto;
|
||||
min-height: 16px;
|
||||
max-width: none; /* reset max-width so that credit card icons don't appear stretched */
|
||||
max-height: 16px;
|
||||
&[originaltype="autofill"] > .two-line-wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 32px 1fr;
|
||||
|
||||
> .ac-site-icon {
|
||||
width: auto;
|
||||
height: 16px;
|
||||
max-width: 32px;
|
||||
max-height: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Insecure field warning */
|
||||
|
|
Загрузка…
Ссылка в новой задаче