Last modified: 2014-09-16 23:22:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62672, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60672 - Flow: buttons wrap onto new line infelicitously when editing post.
Flow: buttons wrap onto new line infelicitously when editing post.
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-31 10:43 UTC by spage
Modified: 2014-09-16 23:22 UTC (History)
11 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
multi-line button alignment issues in Chromium (11.13 KB, image/png)
2014-01-31 10:43 UTC, spage
Details

Description spage 2014-01-31 10:43:15 UTC
Created attachment 14425 [details]
multi-line button alignment issues in Chromium

When editing a reply, the indent plus the 50% wide terms of use plus the longer [Submit changes] text lead to buttons wrapping onto a second line.

Even if we tweak the design (more wrapping, quiet "Cancel" button, etc.), the buttons are going to wrap in some languages, so Agora should handle this better. We should recheck when Flow uses the Agora in core, but for now I notice:

* Buttons butt up against each other vertically, there's no spacing.
* The middle Preview button isn't fully right-aligned (in Chromium but OK in Firefox). I think it has a gap to its right for whitespace to the next button even though the next button is on the next line. If I add a button myself in Chromium developer inspector it doesn't have a separate closing </input> and seems to align properly. 
* When I pointed out a similar issue with the Login form, Jared wanted the main CTA to be on the first row, with other buttons below, which I think is doable if each button is float-right and we swap ordering, but will have strange tab behavior.

If it happens with local Agora-override styles removed then this bug should move to core Skins component.
Comment 1 spage 2014-02-04 20:30:56 UTC
Most or all of this does happen with mw-ui-button in core, so moving to core.
Comment 2 Jon 2014-09-16 23:17:41 UTC
This is actually a Flow issue. The terms of use is taking away space from the icons. The icons should know nothing about each other.

There is nothing wrong with the components itself but in how they are being arranged in their container.

We have mw-ui-button-group, maybe there is a modifier for the Flow use case that you might want to design there and upstream to MediaWiki UI.

http://tools.wmflabs.org/styleguide/desktop/section-2.html#section-2.2

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links