fix: put the welcome back title always at the bottom
This commit is contained in:
parent
eb6347712e
commit
365c071db0
|
@ -3,7 +3,7 @@
|
||||||
<Logo class="logo" width="200" height="58"/>
|
<Logo class="logo" width="200" height="58"/>
|
||||||
<div class="noauth-container">
|
<div class="noauth-container">
|
||||||
<section class="image">
|
<section class="image">
|
||||||
<div class="overlay">
|
<div class="overlay" :class="{'has-message': motd !== ''}">
|
||||||
<message v-if="motd !== ''">
|
<message v-if="motd !== ''">
|
||||||
{{ motd }}
|
{{ motd }}
|
||||||
</message>
|
</message>
|
||||||
|
@ -14,7 +14,6 @@
|
||||||
</section>
|
</section>
|
||||||
<section class="content">
|
<section class="content">
|
||||||
<slot/>
|
<slot/>
|
||||||
|
|
||||||
<legal/>
|
<legal/>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
@ -62,15 +61,19 @@ const motd = computed(() => store.state.config.motd)
|
||||||
|
|
||||||
.overlay {
|
.overlay {
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
flex-direction: column;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
background: rgba(0, 0, 0, .2);
|
background: rgba(0, 0, 0, .2);
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: end;
|
||||||
|
|
||||||
|
&.has-message {
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
|
|
Reference in New Issue
Block a user