Skip to content

Commit

Permalink
accounts-ui: Fix display of inline {{loginButtons align=right}}, part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
avital committed Oct 16, 2012
1 parent 62dc41f commit a4c0727
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/accounts-ui-unstyled/login_buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 8,9 @@
{{! put loginButtons in a wrapper element which should be styled to make
any dropdowns open with their right edge aligned with the right edge of
their container, sticking out to the left. }}
<span class="login-buttons-dropdown-align-right">
<div class="login-buttons-dropdown-align-right">
{{> _loginButtons}}
</span>
</div>
</template>

<!-- an alias for _loginButtons -->
Expand Down
4 changes: 4 additions & 0 deletions packages/accounts-ui/login_buttons.less
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 311,10 @@
left: -@meteor-accounts-dialog-border-width;
}

.login-buttons-dropdown-align-right {
display: inline-block;
}

.login-buttons-dropdown-align-right #login-dropdown-list {
left: auto;
right: -@meteor-accounts-dialog-border-width;
Expand Down

0 comments on commit a4c0727

Please sign in to comment.