Skip to content

Commit 5072ba4

Browse files
committed
solve alignment issue for small screen
1 parent 06febd2 commit 5072ba4

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@
172172

173173
<div class="home-buttons-container">
174174
<!-- discord community ka button -->
175-
<div style="margin-right: 25px; margin-bottom: 30px;">
176-
<a class="wow animated fadeInUp blog-link btn-blog" target="_blank" data-wow-delay="1.5s"
175+
<div style="margin-bottom: 30px;">
176+
<a class="wow animated fadeInUp blog-link btn-blog btn-discord" target="_blank" data-wow-delay="1.5s"
177177
href="https://discord.com/invite/UBbSuw7swW">
178178
Discord Server
179179
<img style="margin-left: 6px; margin-right: 5px;" class="beta" src="./static/images/discord-logo-white.png"></img>

static/styles/styles.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,11 +814,17 @@ only screen and (min-resolution: 2dppx) {
814814
display: flex;
815815
justify-content: center;
816816
}
817+
.btn-discord {
818+
margin-right: 25px;
819+
}
817820

818821
@media(max-width: 860px) {
819822
.home-buttons-container {
820823
flex-direction: column;
821824
}
825+
.btn-discord {
826+
margin-right: 0px;
827+
}
822828
}
823829

824830
.section-header .blog-link {

0 commit comments

Comments
 (0)