MobileArticleTarget: Make close/publish buttons fixed width

This aligns them with the mobile wikitext editor. At mobile
widths the difference is negligible. On tablets this distinguishes
"navigation" buttons from the surface toolbar buttons.

Bug: T344370
Change-Id: I342e3bb579afb9f26e2af743e28eedb32efa3d46
This commit is contained in:
Ed Sanders 2024-11-11 13:29:22 +00:00 committed by Bartosz Dziewoński
parent b8f032d266
commit e434ad65ec

View file

@ -71,6 +71,14 @@
position: fixed; position: fixed;
} }
.ve-init-mw-mobileArticleTarget-toolbar.ve-ui-targetToolbar-mobile .oo-ui-toolbar-tools > {
.ve-ui-toolbar-group-back,
.ve-ui-toolbar-group-save {
flex: 0;
min-width: 2.75em;
}
}
@media screen and ( max-width: 767px ) { @media screen and ( max-width: 767px ) {
.ve-init-mw-target-surface > .ve-ui-surface-placeholder > * { .ve-init-mw-target-surface > .ve-ui-surface-placeholder > * {
/* Fix margin overlap */ /* Fix margin overlap */