Merge branch 'fix-organizer-overflow' into 'master'

Fix organizer metadata overflow

See merge request framasoft/mobilizon!911
This commit is contained in:
Thomas Citharel 2021-04-26 16:07:18 +00:00
commit cdedd0ef27
2 changed files with 19 additions and 1 deletions

View File

@ -33,6 +33,7 @@ div.eventMetadataBlock {
p { p {
flex: 1; flex: 1;
overflow: hidden;
&.padding-left { &.padding-left {
padding-left: 20px; padding-left: 20px;

View File

@ -341,7 +341,10 @@
:endsOn="event.endsOn" :endsOn="event.endsOn"
/> />
</event-metadata-block> </event-metadata-block>
<event-metadata-block :title="$t('Organized by')"> <event-metadata-block
class="metadata-organized-by"
:title="$t('Organized by')"
>
<popover-actor-card <popover-actor-card
:actor="event.organizerActor" :actor="event.organizerActor"
v-if="!event.attributedTo" v-if="!event.attributedTo"
@ -1430,6 +1433,20 @@ div.sidebar {
} }
} }
::v-deep .metadata-organized-by {
.v-popover.popover .trigger {
width: 100%;
.media-content {
width: calc(100% - 32px - 1rem);
p.has-text-grey {
text-overflow: ellipsis;
overflow: hidden;
}
}
}
}
div.event-description-comments { div.event-description-comments {
min-width: 20rem; min-width: 20rem;
padding: 1rem; padding: 1rem;