Icon style

merge-requests/6/head
Bob Mottram 2020-02-23 11:29:44 +00:00
parent 9ca03762fe
commit d284580df8
2 changed files with 5 additions and 1 deletions

View File

@ -164,6 +164,10 @@ tr:nth-child(even) > .calendar__day__cell:nth-child(even) {
text-align: center; text-align: center;
} }
.calendardayicon {
width: 10%
}
.buttonprev { .buttonprev {
float: left; float: left;
width: 10%; width: 10%;

View File

@ -3689,7 +3689,7 @@ def htmlCalendarDay(translate: {}, \
deleteButtonStr='' deleteButtonStr=''
if postId: if postId:
deleteButtonStr='<td><a href="'+actor+'/calendardelete?id='+postId+'"><img loading="lazy" alt="'+translate['Delete this event']+' |" title="'+translate['Delete this event']+' |" src="/'+iconsDir+'/delete.png" /></a></td>' deleteButtonStr='<td><a href="'+actor+'/calendardelete?id='+postId+'"><img class="calendardayicon" loading="lazy" alt="'+translate['Delete this event']+' |" title="'+translate['Delete this event']+' |" src="/'+iconsDir+'/delete.png" /></a></td>'
if eventTime and eventDescription and eventPlace: if eventTime and eventDescription and eventPlace:
calendarStr+='<tr><td class="calendar__day__time"><b>'+eventTime+'</b></td><td class="calendar__day__event"><span class="place">'+eventPlace+'</span><br>'+eventDescription+'</td>'+deleteButtonStr+'</tr>\n' calendarStr+='<tr><td class="calendar__day__time"><b>'+eventTime+'</b></td><td class="calendar__day__event"><span class="place">'+eventPlace+'</span><br>'+eventDescription+'</td>'+deleteButtonStr+'</tr>\n'