ui: Changed modal to use a h1 in the body instead of title property, tried to fix font flashing.
This commit is contained in:
@@ -6,10 +6,12 @@
|
||||
<menu-link if(!input.user.loggedIn) icon="L" href="/auth/login" on-click("loginClicked")>Login</menu-link>
|
||||
<menu-link if(input.user.loggedIn) icon="L" href="/auth/logout" on-click("logoutClicked")>Logout <span class="weak">(${input.user.name})</span></menu-link>
|
||||
|
||||
<modal enabled=state.loggingIn notification title="Logging you in..." on-close("closeModal")>
|
||||
<modal enabled=state.loggingIn notification on-close("closeModal")>
|
||||
<h1>Logging you in...</h1>
|
||||
<p>You may be redirected to Auth0 if it's been a while.</p>
|
||||
</modal>
|
||||
<modal enabled=state.loggingOut notification title="Logging you out..." on-close("closeModal")>
|
||||
<modal enabled=state.loggingOut notification on-close("closeModal")>
|
||||
<h1>Logging you out...</h1>
|
||||
<p>You can probably log back in without entering your info if you're quick.</p>
|
||||
</modal>
|
||||
</if>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
<div class="overlay-options color-menu">
|
||||
<div if(input.closable) on-click("closeModal")>X</div>
|
||||
</div>
|
||||
<h1 class="color-primary" if(input.title)>${input.title}</h1>
|
||||
<div class="modal color-text">
|
||||
<include(input.renderBody) />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user