Skip to content

Commit 7f654ff

Browse files
committed
Fix blog banner layout
1 parent 6a1e81d commit 7f654ff

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

src/renderer/App.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515
}
1616

1717
.banner {
18-
width: 85%;
18+
margin-top: 16px;
19+
width: 90%;
1920
}
2021

2122
.flexBox {
22-
margin-top: 60px;
23-
margin-bottom: -75px;
23+
margin: 0;
24+
flex: 1 1 0%;
2425
}
2526

2627
#changeLogText {

src/renderer/App.vue

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@
99
>
1010
<top-nav ref="topNav" />
1111
<side-nav ref="sideNav" />
12-
<ft-flex-box
13-
v-if="showUpdatesBanner || showBlogBanner"
14-
class="flexBox routerView"
15-
>
12+
13+
<ft-flex-box class="flexBox">
1614
<ft-notification-banner
1715
v-if="showUpdatesBanner"
1816
class="banner"
@@ -25,19 +23,21 @@
2523
:message="blogBannerMessage"
2624
@click="handleNewBlogBannerClick"
2725
/>
26+
27+
<transition
28+
v-if="dataReady"
29+
mode="out-in"
30+
name="fade"
31+
>
32+
<!-- <keep-alive> -->
33+
<RouterView
34+
ref="router"
35+
class="routerView"
36+
/>
37+
<!-- </keep-alive> -->
38+
</transition>
2839
</ft-flex-box>
29-
<transition
30-
v-if="dataReady"
31-
mode="out-in"
32-
name="fade"
33-
>
34-
<!-- <keep-alive> -->
35-
<RouterView
36-
ref="router"
37-
class="routerView"
38-
/>
39-
<!-- </keep-alive> -->
40-
</transition>
40+
4141
<ft-prompt
4242
v-if="showReleaseNotes"
4343
@click="showReleaseNotes = !showReleaseNotes"

0 commit comments

Comments
 (0)