UX: minor css tweaks

This commit is contained in:
jjaffeux 2020-08-13 16:29:32 +02:00
parent cbebafd148
commit 9aaa83aa29
3 changed files with 8 additions and 1 deletions

View File

@ -197,7 +197,7 @@ export default createWidget("discourse-post-event", {
<span class="separator">·</span>
{{/unless}}
<span class="creators">
<span>{{i18n "discourse_post_event.event_ui.created_by"}}</span>
<span class="created-by">{{i18n "discourse_post_event.event_ui.created_by"}}</span>
{{attach widget="discourse-post-event-creator" attrs=(hash user=state.eventModel.creator)}}
</span>
</div>

View File

@ -9,6 +9,7 @@
flex-direction: column;
flex: 1 0 auto;
max-width: 100%;
box-sizing: border-box;
.widget-dropdown {
margin: 0;

View File

@ -16,4 +16,10 @@
right: -2px;
bottom: -2px;
}
.creators {
.created-by {
display: none;
}
}
}