mirror of
https://github.com/rickbarrette/redmine_qbo_calendar.git
synced 2026-10-03 20:40:43 -04:00
Tweaked layout for avatar & days
This commit is contained in:
1 parent
a93fdfe63b
commit
7807e5a1e7
2 files changed
+9
-5
No files matched your search
@@ -31,7 +31,7 @@
|
||||
<%# Row 1: Avatar | Title %>
|
||||
<div class="appointment-header">
|
||||
<% if appointment.user %>
|
||||
<%= avatar(appointment.user, size: 14, class: "appointment-avatar") %>
|
||||
<%= avatar(appointment.user, size: 25, class: "appointment-avatar") %>
|
||||
<% end %>
|
||||
|
||||
<span class="appointment-title">
|
||||
@@ -48,7 +48,7 @@
|
||||
</span>
|
||||
|
||||
<% if duration > 1 && day_number.positive? && day_number <= duration %>
|
||||
<small class="muted">(Day <%= day_number %> of <%= duration %>)</small>
|
||||
<span class="appointment-days">(Day <%= day_number %> of <%= duration %>)</span>
|
||||
<% end %>
|
||||
|
||||
<span class="appointment-hours">
|
||||
|
||||
@@ -68,8 +68,8 @@ table.cal td {
|
||||
|
||||
.appointment-avatar {
|
||||
flex-shrink: 0;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
border-radius: 3px;
|
||||
object-fit: cover;
|
||||
}
|
||||
@@ -99,10 +99,14 @@ table.cal td {
|
||||
}
|
||||
|
||||
.appointment-time,
|
||||
.appointment-hours {
|
||||
.appointment-hours{
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.appointment-days {
|
||||
place-items: center;
|
||||
}
|
||||
|
||||
/* Horizontal Dividers */
|
||||
.appointment-card .appointment-divider {
|
||||
border: 0;
|
||||
|
||||
Reference in new issue
Block a user