Merge pull request #129 from nextcloud-gmbh/username-bold

Bold author usernames
pull/136/head
Julius Härtl 2018-12-05 11:01:52 +01:00 zatwierdzone przez GitHub
commit 523e230439
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 17 dodań i 4 usunięć

Wyświetl plik

@ -27,8 +27,8 @@
</div>
<form class="new-post-form" @submit.prevent="createPost">
<div class="author currentUser">
{{ currentUser.displayName }}
<span class="social-id">{{ socialId }}</span>
<span class="post-author">{{ currentUser.displayName }}</span>
<span class="post-author-id">{{ socialId }}</span>
</div>
<vue-tribute :options="tributeOptions">
<!-- eslint-disable-next-line vue/valid-v-model -->
@ -85,6 +85,7 @@
z-index: 100;
margin-bottom: 10px;
}
.new-post-author {
padding: 5px;
}
@ -100,8 +101,12 @@
min-height: 70px;
}
.author .social-id {
opacity: .5;
.post-author {
font-weight: bold;
}
.post-author-id {
opacity: .7;
}
[contenteditable=true]:empty:before{

Wyświetl plik

@ -77,6 +77,10 @@ export default {
margin-top: 0;
}
.post-author {
font-weight: bold;
}
.post-author-id {
opacity: .7;
}

Wyświetl plik

@ -92,6 +92,10 @@ export default {
flex-shrink: 0;
}
.post-author {
font-weight: bold;
}
.entry-content {
display: flex;
align-items: flex-start;