Firefox Accounts migration banner (bug 1052864) #657
Firefox Accounts migration banner (bug 1052864) #657
Conversation
Introducing Custom Elements!
I messed up the line height for the incompatibility banner. It had the table cell hack for vertical align before. I might have to add it back in. |
I know you didn't write that, but this is way too wordy IMO. Too much text to scan. And you should have a period after "Learn more" too. I'd suggest changing to this:
At least drop the "It's that simple" text:
|
@@ -19,7 +19,6 @@ | |||
</div> | |||
|
|||
<header id="site-header" class="header site-header"></header> | |||
<aside id="incompatibility-banner"></aside> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remember to remove from Zamboni
I took a screenshot of the tablet width and zoomed in on it. Looks like it's about evenly spaced. 13px from the bottom of the link underline to the bottom and 13px from the top of the |
if you are having problems centreing the text vertically, use flexbox: http://philipwalton.github.io/solved-by-flexbox/ /* Old flexbox to centre horizontally. */
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
align-items: center;
/* New flexbox to centre horizontally. */
display: flex;
justify-content: center; Or look at this jsfiddle. |
how's it look on an app detail page (e.g., |
Pushed to master to keep history here. I'm open to revising the API just wanted to get this in. |
https://bugzilla.mozilla.org/show_bug.cgi?id=1052864
This adds custom elements for the site banner (
<mkt-banner>
) and login (<mkt-login>
).r? @cvan