Fix for banner and too far scrolling (#2399)

* Fix for banner and too far scrolling

* Update App.css
This commit is contained in:
Luca Hohmann 2022-07-16 11:30:38 +02:00 committed by GitHub
parent e489825a4a
commit f7b9c5acca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 22 deletions

View File

@ -7,6 +7,7 @@
display: flex;
flex-wrap: wrap;
font-family: 'Roboto', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
height: 100%;
}
.routerView {
@ -15,14 +16,13 @@
}
.banner {
margin: 16px auto 0 auto;
width: 90%;
width: 80%;
margin: 0 auto;
}
.flexBox {
margin: 0;
flex: 1 1 0%;
flex-direction: column;
margin-top: 60px;
display: block;
}
#changeLogText {
@ -44,7 +44,8 @@
}
.banner {
width: 90%;
width: 80%;
margin-top: 60px;
}
.flexBox {

View File

@ -9,21 +9,25 @@
>
<top-nav ref="topNav" />
<side-nav ref="sideNav" />
<ft-flex-box class="flexBox">
<ft-notification-banner
v-if="showUpdatesBanner"
class="banner"
:message="updateBannerMessage"
@click="handleUpdateBannerClick"
/>
<ft-notification-banner
v-if="showBlogBanner"
class="banner"
:message="blogBannerMessage"
@click="handleNewBlogBannerClick"
/>
<ft-flex-box
class="flexBox routerView"
>
<div
v-if="showUpdatesBanner || showBlogBanner"
>
<ft-notification-banner
v-if="showUpdatesBanner"
class="banner"
:message="updateBannerMessage"
@click="handleUpdateBannerClick"
/>
<ft-notification-banner
v-if="showBlogBanner"
class="banner"
:message="blogBannerMessage"
@click="handleNewBlogBannerClick"
/>
</div>
<transition
v-if="dataReady"
mode="out-in"
@ -34,7 +38,7 @@
ref="router"
class="routerView"
/>
<!-- </keep-alive> -->
<!-- </keep-alive> -->
</transition>
</ft-flex-box>