fix description style
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
const jwt = require('jsonwebtoken')
|
||||
const { User, Event, Comment, Tag } = require('../model')
|
||||
const config = require('../config')
|
||||
const mail = require('../mail')
|
||||
const Mastodon = require('mastodon-api')
|
||||
const Sequelize = require('sequelize')
|
||||
const Op = Sequelize.Op
|
||||
|
||||
@@ -30,7 +30,7 @@ const exportController = {
|
||||
})
|
||||
switch (type) {
|
||||
case 'feed':
|
||||
return exportController.feed(res, events)
|
||||
return exportController.feed(res, events.slice(0, 20))
|
||||
case 'ics':
|
||||
return exportController.ics(res, events)
|
||||
}
|
||||
|
||||
@@ -3,3 +3,10 @@
|
||||
overflow: hidden;
|
||||
} */
|
||||
|
||||
pre {
|
||||
display: inline-block;
|
||||
color: unset;
|
||||
white-space: pre-line;
|
||||
font-family: unset;
|
||||
font-size: 1em;
|
||||
}
|
||||
@@ -12,7 +12,8 @@
|
||||
v-icon(name='map-marker-alt')
|
||||
span {{event.place.name}} - {{event.place.address}}
|
||||
br
|
||||
b-card-footer(v-if='event.description || event.tags') {{event.description}}
|
||||
b-card-body(v-if='event.description || event.tags')
|
||||
pre {{event.description}}
|
||||
br
|
||||
b-badge(:style='{backgroundColor: tag.color}' v-for='tag in event.tags') {{tag.tag}}
|
||||
b-navbar(v-if='mine' type="dark" variant="dark" toggleable='lg')
|
||||
|
||||
@@ -23,6 +23,8 @@ import App from './App.vue'
|
||||
import router from './router'
|
||||
import store from './store'
|
||||
|
||||
import './assets/main.css'
|
||||
|
||||
import itLocale from '@/locale/it'
|
||||
import enLocale from '@/locale/en'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user