Skip to content

Commit fd276bf

Browse files
committed
VIRCN-6 Agregado salto de linea en los textos largos de las iniciativas
1 parent 31154e5 commit fd276bf

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/assets/sass/_global.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,7 @@ img.is-centered {
6464
@include font-weight(100 * $i, )
6565
}
6666
}
67+
68+
.add-br{
69+
white-space: pre-wrap;
70+
}

src/views/initiative/About.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<section>
33
<h1 class="subtitle is-5 has-text-primary">Description</h1>
4-
<div class="content">
4+
<div class="content add-br">
55
<p>{{initiative.description}}</p>
66
</div>
77
</section>

src/views/initiative/Details.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<p><b>{{initiative.name}}</b> was founded the year {{initiative.public_data.founding_year}}</p>
66
</div>
77
<h1 class="subtitle is-5 has-text-primary">Our goals</h1>
8-
<div class="content">
8+
<div class="content add-br">
99
<p>{{initiative.public_data.goals}}</p>
1010
</div>
1111
<h1 class="subtitle is-5 has-text-primary">Role of Youth</h1>

src/views/initiatives/steps/Step7.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,4 @@ export default {
111111
.card-content {
112112
color: #161616;
113113
}
114-
.add-br{
115-
white-space: pre-wrap;
116-
}
117114
</style>

0 commit comments

Comments
 (0)