Formatting changes

This commit is contained in:
Pawel Kowalski 2018-09-11 10:22:38 +02:00
parent f3a383d8dd
commit d756e29ee4
7 changed files with 12 additions and 10 deletions

View File

@ -3,7 +3,6 @@
<h3>{{chapter.title}}</h3> <h3>{{chapter.title}}</h3>
<content-block :contentBlock="contentBlock" :key="contentBlock.id" v-for="contentBlock in chapter.contentBlocks"> <content-block :contentBlock="contentBlock" :key="contentBlock.id" v-for="contentBlock in chapter.contentBlocks">
</content-block> </content-block>
</div> </div>
</template> </template>

View File

@ -48,7 +48,7 @@
border: 0; border: 0;
background-color: $color-brand; background-color: $color-brand;
svg{ svg {
display: block; display: block;
fill: white; fill: white;
} }

View File

@ -6,8 +6,11 @@
<h4>{{contentBlock.title}}</h4> <h4>{{contentBlock.title}}</h4>
<h4>{{contentBlock.id}}</h4> <h4>{{contentBlock.id}}</h4>
<component v-for="component in contentBlock.contents" :key="component.id" :is="component.type" <component v-for="component in contentBlock.contents"
v-bind="component"></component> :key="component.id"
:is="component.type"
v-bind="component">
</component>
</div> </div>
</div> </div>

View File

@ -1,6 +1,7 @@
<template> <template>
<div class="content-block-title-input"> <div class="content-block-title-input">
<input placeholder="Titel für Inhaltsblock erfassen" class="content-block-title-input__inputfield skillbox-input" <input placeholder="Titel für Inhaltsblock erfassen"
class="content-block-title-input__inputfield skillbox-input"
v-on:input="$emit('update-title', $event.target.value)"> v-on:input="$emit('update-title', $event.target.value)">
</div> </div>
</template> </template>

View File

@ -10,8 +10,8 @@
v-on:change-type="changeType" v-on:change-type="changeType"
v-on:link-change-url="changeLinkUrl" v-on:link-change-url="changeLinkUrl"
v-on:link-change-text="changeLinkText" v-on:link-change-text="changeLinkText"
v-on:video-change-url="changeVideoUrl" v-on:video-change-url="changeVideoUrl">
></component> </component>
<a class="new-content-block-wizard__remove" v-on:click="removeElement(index)"> <a class="new-content-block-wizard__remove" v-on:click="removeElement(index)">
<trash-icon v-if="type(element) !== 'content-block-chooser-widget'" <trash-icon v-if="type(element) !== 'content-block-chooser-widget'"
class="new-content-block-wizard__trash-icon"></trash-icon> class="new-content-block-wizard__trash-icon"></trash-icon>

View File

@ -1,7 +1,6 @@
<template> <template>
<div class="user-widget"> <div class="user-widget">
<img class="user-widget__avatar" <img class="user-widget__avatar" :src="avatar">
:src="avatar">
<span class="user-widget__name">{{firstName}} {{lastName}}</span> <span class="user-widget__name">{{firstName}} {{lastName}}</span>
<span class="user-widget__date" v-if="date">{{date}}</span> <span class="user-widget__date" v-if="date">{{date}}</span>
</div> </div>