mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Cosmetic fixes
This commit is contained in:
parent
765085d316
commit
0df85a1e61
2 changed files with 5 additions and 6 deletions
|
@ -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 {
|
||||
|
|
|
@ -15,8 +15,6 @@
|
|||
di <a href="/profile/{{ event.author.username }}">{{ event.author.username }}</a>
|
||||
</div>
|
||||
<div class="description">
|
||||
{% autoescape false %}
|
||||
{{ escape(event.description).replace('\n', '<br>') }}
|
||||
{% endautoescape %}
|
||||
{{ (escape(event.description)).replace("\n", "<br>"|safe) }}
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in a new issue