mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-18 01:00:45 +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;
|
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 */
|
||||||
|
|
Loading…
Reference in a new issue