fix white background in projects, add screenshots to gitignore

This commit is contained in:
Christian Cueni 2019-04-16 11:16:27 +02:00
parent e9bb8844e7
commit 69c9ecafd8
2 changed files with 12 additions and 1 deletions

3
.gitignore vendored
View File

@ -42,3 +42,6 @@ server/media/
.python-version
.coverage
# Cypress screenshots
client/cypress/screenshots

View File

@ -1,5 +1,5 @@
<template>
<div class="project">
<div class="project" :class="specialContainerClass">
<div class="project__header">
<h1 class="project__title">{{project.title}}</h1>
<p class="project__description">
@ -36,6 +36,10 @@
computed: {
objectives() {
return this.project.objectives ? this.project.objectives.split('\n') : [];
},
specialContainerClass() {
const cls = this.project.appearance;
return [cls ? `project--${cls}` : ''];
}
},
@ -73,8 +77,12 @@
<style scoped lang="scss">
@import "@/styles/_variables.scss";
@import "@/styles/_functions.scss";
@import "@/styles/_mixins.scss";
.project {
@include skillbox-colors;
&__header {
padding: $large-spacing;
}