diff --git a/static/nryg.less b/static/nryg.less index 9471d993..873b6c67 100644 --- a/static/nryg.less +++ b/static/nryg.less @@ -135,7 +135,7 @@ nav { .box { border-radius: 4px; background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.1); - padding: 4px; + padding: 8px; margin-left: 4px; margin-right: 4px; @@ -728,25 +728,26 @@ nav { .event { display: grid; - grid-template-columns: 25% 55% 20%; padding-top: 4px; padding-bottom: 4px; + grid-template-columns: 28% 50% 22%; .time { grid-column: 1; grid-row: 1; - font-weight: bold; } .name { grid-column: 2; grid-row: 1; font-weight: bold; + color: @accent-color; } .author { grid-column: 3; grid-row: 1; + text-align: right; } .description { diff --git a/templates/components/event.html b/templates/components/event.html index 66494252..1b81437a 100644 --- a/templates/components/event.html +++ b/templates/components/event.html @@ -15,8 +15,6 @@ di {{ event.author.username }}
- {% autoescape false %} - {{ escape(event.description).replace('\n', '
') }} - {% endautoescape %} + {{ (escape(event.description)).replace("\n", "
"|safe) }}
\ No newline at end of file