fix: tighten calendar card layout
This commit is contained in:
@@ -644,6 +644,7 @@ p {
|
||||
.calendar-day {
|
||||
min-height: 132px;
|
||||
padding: 14px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.calendar-day strong {
|
||||
@@ -658,14 +659,40 @@ p {
|
||||
.calendar-day__tasks {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.calendar-task {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
padding: 10px 12px;
|
||||
min-width: 0;
|
||||
padding: 9px 10px;
|
||||
border-radius: 14px;
|
||||
background: rgba(255, 255, 255, 0.72);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.calendar-task__title {
|
||||
display: -webkit-box;
|
||||
overflow: hidden;
|
||||
min-width: 0;
|
||||
font-size: 0.96rem;
|
||||
line-height: 1.15;
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
word-break: break-word;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
.calendar-task__person {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
min-width: 0;
|
||||
font-size: 0.74rem;
|
||||
line-height: 1.2;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.calendar-task--open {
|
||||
|
||||
Reference in New Issue
Block a user