зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1698349 - Changed the .small selectors to .small-button and since there were no uses of medium found that selector was removed . r=mhowell,mtigley,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D125341
This commit is contained in:
Родитель
5482810b38
Коммит
a078f6adad
|
@ -734,7 +734,7 @@
|
|||
"button",
|
||||
button.is ? { is: button.is } : {}
|
||||
);
|
||||
buttonElem.classList.add("notification-button", "small");
|
||||
buttonElem.classList.add("notification-button", "small-button");
|
||||
|
||||
if (button.primary) {
|
||||
buttonElem.classList.add("primary");
|
||||
|
|
|
@ -356,15 +356,9 @@ xul|menulist {
|
|||
button {
|
||||
font-weight: 600;
|
||||
}
|
||||
/* Medium and small buttons get sized to 7/14 and 6/12px padding (when adding
|
||||
* the 1px border): */
|
||||
button.medium {
|
||||
padding: 6px 13px;
|
||||
min-height: 28px;
|
||||
font-size: 0.95em;
|
||||
}
|
||||
|
||||
button.small {
|
||||
/* Small buttons get sized to 6/12px padding (when adding the 1px border) */
|
||||
.small-button {
|
||||
padding: 5px 11px;
|
||||
min-height: 24px;
|
||||
font-size: 0.9em;
|
||||
|
|
Загрузка…
Ссылка в новой задаче