mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
larger hovers on lectures
This commit is contained in:
@@ -56,3 +56,7 @@ tighter integration with git
|
||||
|
||||
display days settings
|
||||
- hide all sundays (horizontal space)
|
||||
|
||||
|
||||
lecture preview link has server side render caching issues.
|
||||
|
||||
|
||||
1
run.sh
1
run.sh
@@ -13,6 +13,7 @@ docker run -it --rm \
|
||||
-v ~/projects/faculty/1810/2025-spring-alex/online:/app/storage/intro_to_web_online \
|
||||
-v ~/projects/faculty/1400/2025_spring_alex/modules:/app/storage/1400 \
|
||||
-v ~/projects/faculty/3840_Telemetry/2025_spring_alex/modules:/app/storage/telemetry \
|
||||
-v ~/projects/faculty/4620_Distributed/2025Spring/modules:/app/storage/distributed \
|
||||
node \
|
||||
sh -c "
|
||||
mkdir -p ~/.npm-global && \
|
||||
|
||||
@@ -52,7 +52,18 @@ export function DayTitle({ day, dayAsDate }: { day: string; dayAsDate: Date }) {
|
||||
<ClientOnly>
|
||||
{(lectureName?.length ?? 0) > 0 && (
|
||||
<Tooltip
|
||||
message={lectureName}
|
||||
message={
|
||||
<div>
|
||||
{lectureName}
|
||||
{todaysLecture?.content && (
|
||||
<>
|
||||
<pre>
|
||||
<code>{todaysLecture?.content}</code>
|
||||
</pre>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
}
|
||||
targetRef={linkRef}
|
||||
visible={tooltipVisible}
|
||||
/>
|
||||
|
||||
@@ -62,7 +62,9 @@ short answer
|
||||
---
|
||||
this is a matching question
|
||||
^ left answer - right dropdown
|
||||
^ other thing - another option`;
|
||||
^ other thing - another option
|
||||
^ - distractor
|
||||
^ - other distractor`;
|
||||
};
|
||||
|
||||
export default function EditQuiz({
|
||||
|
||||
@@ -20,6 +20,7 @@ export const Tooltip: React.FC<{
|
||||
" rounded-md py-1 px-2 " +
|
||||
" transition-all duration-400 " +
|
||||
" border border-slate-700 shadow-[0px_0px_10px_5px] shadow-slate-500/20 " +
|
||||
" max-w-sm max-h-64 overflow-hidden " +
|
||||
(visible ? " " : " hidden -z-50 ")
|
||||
}
|
||||
role="tooltip"
|
||||
|
||||
Reference in New Issue
Block a user