Tweaked layout for avatar & days

This commit is contained in:
ricky committed 2026-08-19 13:56:51 -04:00
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">
+7 -3
View File
@@ -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;