mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 14:06:52 +00:00
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:
parent
b8f032d266
commit
e434ad65ec
|
@ -71,6 +71,14 @@
|
|||
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 ) {
|
||||
.ve-init-mw-target-surface > .ve-ui-surface-placeholder > * {
|
||||
/* Fix margin overlap */
|
||||
|
|
Loading…
Reference in a new issue