Browse Source

make projects box constant height

pull/1/head
wes 7 years ago
parent
commit
6bf4df72d0
  1. 2
      src/scripts/projects.tag
  2. 6
      src/styles/riotblog.scss

2
src/scripts/projects.tag

@ -18,7 +18,7 @@
<loading if={loading}></loading>
<div if={!loading} class="text-break">
<div if={this.swipe} class={"card animated "+this.transition}>
<div if={this.swipe} class={"projects-card card animated "+this.transition}>
<div class="card-header">
<h3 class="card-title project-title">{ this.project().name }</h3>
<h5 class="project-description">{ this.project().description }</h5>

6
src/styles/riotblog.scss

@ -284,7 +284,11 @@ p, h6, h5, h4, h3, h2, h1 {
.projects-box {
@extend .content-box;
height: 385 !important;
height: 300px !important;
}
.projects-card {
height: 200px !important;
}
.posts-box {

Loading…
Cancel
Save