update compose

This commit is contained in:
2024-08-19 16:04:59 -06:00
parent 6f4fe3663a
commit edc77bcc77
4 changed files with 21 additions and 13 deletions

View File

@@ -35,7 +35,8 @@ public class DroppableAssignment : ComponentBase
? a
: a with
{
DueAt = defaultDueTimeDate
DueAt = defaultDueTimeDate,
LockAt = a.LockAt > defaultDueTimeDate ? a.LockAt : defaultDueTimeDate
}
)
};

View File

@@ -22,18 +22,17 @@
}
}
<div class="text-center">
<div class="">
@if (localCourses != null)
{
<h3>Stored Courses</h3>
<h3 class="text-center mb-3">Stored Courses</h3>
@foreach (var course in localCourses)
{
var location = "/course/" + course.Settings.Name;
<div>
<h4 class="m-3 hover-underline-animation" @onclick="(e) => handleClick(e, course)" role='button'>
<div class=" fs-4 text-start mb-3 hover-underline-animation" @onclick="(e) => handleClick(e, course)" role='button'>
@course.Settings.Name
</h4>
</div>
</div>
}
}

View File

@@ -90,4 +90,11 @@ body {
.monaco-editor-background, .monaco-editor .margin {
background-color: var(--bs-dark-bg-subtle) !important;
}
}
/* markdown styling */
blockquote {
padding: 10px 20px;
margin: 20px 0;
border-left: 5px solid #909090;
}