Skip to content

Commit f324c3f

Browse files
authored
fixed product hunt button alignment issue (#412)
1 parent bbea991 commit f324c3f

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

template/assets/css/style.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,17 @@
152152
}
153153
}
154154

155+
.combo-btn-container {
156+
display: flex;
157+
justify-content: center;
158+
align-items: center;
159+
flex-wrap: wrap;
160+
}
161+
162+
.combo-btn-container > * {
163+
margin: 5px;
164+
}
165+
155166
#newsletter {
156167
background: #22212c;
157168
text-align: center;

template/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ <h1 class="drac-heading title drac-heading-xl drac-text-white logo">Vim <span cl
5454
Neovim/Vim</span>
5555
</span>
5656
</div>
57-
<div style="margin-top:25px" class="drac-box">
58-
<a href="https://www.producthunt.com/posts/vim-bootstrap?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-vim-bootstrap" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=303760&theme=light" alt="vim-bootstrap - Your configuration generator for Neovim/Vim | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
57+
<div style="margin-top:25px" class="drac-box combo-btn-container">
58+
<a href="https://www.producthunt.com/posts/vim-bootstrap?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-vim-bootstrap" target="_blank">
59+
<img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=303760&theme=light" alt="vim-bootstrap - Your configuration generator for Neovim/Vim | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" />
60+
</a>
5961
<a class="drac-btn drac-bg-cyan-green drac-btn-lg drac-text-black drac-text-white--hover" href="#tagline">
6062
Make your .vimrc <strong>now</strong>!
6163
</a>

0 commit comments

Comments
 (0)