mirror of
https://github.com/rickbarrette/redmine_qbo_calendar.git
synced 2026-10-04 04: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 %>
|
<%# Row 1: Avatar | Title %>
|
||||||
<div class="appointment-header">
|
<div class="appointment-header">
|
||||||
<% if appointment.user %>
|
<% if appointment.user %>
|
||||||
<%= avatar(appointment.user, size: 14, class: "appointment-avatar") %>
|
<%= avatar(appointment.user, size: 25, class: "appointment-avatar") %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<span class="appointment-title">
|
<span class="appointment-title">
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<% if duration > 1 && day_number.positive? && day_number <= duration %>
|
<% 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 %>
|
<% end %>
|
||||||
|
|
||||||
<span class="appointment-hours">
|
<span class="appointment-hours">
|
||||||
|
|||||||
@@ -68,8 +68,8 @@ table.cal td {
|
|||||||
|
|
||||||
.appointment-avatar {
|
.appointment-avatar {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
width: 20px;
|
width: 25px;
|
||||||
height: 20px;
|
height: 25px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
@@ -99,10 +99,14 @@ table.cal td {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.appointment-time,
|
.appointment-time,
|
||||||
.appointment-hours {
|
.appointment-hours{
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.appointment-days {
|
||||||
|
place-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
/* Horizontal Dividers */
|
/* Horizontal Dividers */
|
||||||
.appointment-card .appointment-divider {
|
.appointment-card .appointment-divider {
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|||||||
Reference in new issue
Block a user