mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix flexbox issue with calendar description
This commit is contained in:
parent
38066b0d1f
commit
98d8ff6fb1
@ -182,12 +182,25 @@
|
||||
display: flex;
|
||||
margin-bottom: 0.3rem;
|
||||
align-items: center;
|
||||
.event-location,.event-description {
|
||||
.event-location {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.event-description p {
|
||||
margin:0.1rem;
|
||||
.fa-align-justify {
|
||||
margin-top: 3px;
|
||||
}
|
||||
&.tui-full-calendar-popup-detail-item-separate {
|
||||
&>span {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
.event-description {
|
||||
display: block;
|
||||
line-height: 1.1em;
|
||||
p, ul {
|
||||
margin:0.1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
a {
|
||||
margin:0.1rem;
|
||||
|
||||
@ -417,7 +417,7 @@ define([
|
||||
|
||||
let description_icon = h('i.fa.fa-align-justify.tui-full-calendar-icon', { 'aria-hidden': true }, []);
|
||||
let description = diffMk.render(str, true);
|
||||
return `<div class="event-description">${description_icon.outerHTML} ${description}</div>`;
|
||||
return `${description_icon.outerHTML}<div class="event-description">${description}</div>`;
|
||||
},
|
||||
popupIsAllDay: function() { return Messages.calendar_allDay; },
|
||||
titlePlaceholder: function() { return Messages.calendar_title; },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user