Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flex box issue with messages on log in page #11

Open
jtauber opened this issue Apr 22, 2019 · 2 comments
Open

flex box issue with messages on log in page #11

jtauber opened this issue Apr 22, 2019 · 2 comments

Comments

@jtauber
Copy link
Member

jtauber commented Apr 22, 2019

Screen Shot 2019-04-22 at 4 59 29 PM

@jtauber
Copy link
Member Author

jtauber commented Apr 22, 2019

The issue is the incompatibility of

body.account {
    &.account-login,
    &.account-logout,
    &.account-signup,
    &.account-password-reset,
    &.account-email-confirmation {
        #content-body {
            @extend .d-flex;
            @extend .justify-content-center;
        }

in the account starter project with

{% block body_base %}
  <main>
    {% block content_left %}{% endblock %}
    <section id="content-section">
        <div id="content-body">
            {% block messages %}{% include "_messages.html" %}{% endblock %}
            {% block body %}{% endblock %}

in base.html here

@jtauber
Copy link
Member Author

jtauber commented Apr 22, 2019

One solution might be to wrap the {% block body %}{% end block %} in another element and put any flex centering on that wrapper. rather than on #content-body.

For now the workaround is probably to just remove the SCSS in an individual project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant