(css) Improve display of secondary info of events

pull/218/merge
Francis Lachapelle 2017-10-16 10:26:08 -04:00
parent 8b6aa7fb88
commit 92c96bc04c
3 changed files with 6 additions and 3 deletions

View File

@ -62,7 +62,7 @@
' </span>',
// Location
' <div class="secondary" ng-if="'+p+'block.component.c_location">',
' <md-icon>place</md-icon> {{'+p+'block.component.c_location}}',
' <md-icon>place</md-icon> <span ng-bind="'+p+'block.component.c_location"></span>',
' </div>',
' </div>',
' </div>',

View File

@ -56,11 +56,11 @@
' </span>',
// Time
' <div class="secondary" ng-if="::!component.c_isallday">',
' <md-icon>access_time</md-icon> {{::component.starthour}}',
' <md-icon>access_time</md-icon> <span ng-bind="::component.starthour"></span>',
' </div>',
// Location
' <div class="secondary" ng-if="::component.c_location">',
' <md-icon>place</md-icon> {{::component.c_location}}',
' <md-icon>place</md-icon> <span ng-bind="::component.c_location"></span>',
' </div>',
'</div>'
].join('');

View File

@ -387,6 +387,9 @@ $quarter_height: 10px;
.secondary { // location in days view, hours in month view
font-weight: $sg-font-light;
span {
word-break: break-all;
}
}
.sg-category {