Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function CourseChatPanel({ open, onClose, courseId, courseTitle }: Course
<motion.button
type="button"
aria-label={intl.formatMessage({ id: 'panel.close' })}
className="absolute inset-0 h-full w-full bg-slate-950/25 backdrop-blur-sm"
className="absolute inset-0 h-full w-full bg-black/40"
{...backdrop}
onClick={onClose}
/>
Expand Down
2 changes: 1 addition & 1 deletion apps/skillnet-web/src/components/courses/ExplainModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ export function ExplainModal({
// opened inside the card paints above it instead of behind it.
<ExplainLayer zIndex={EXPLAIN_LAYER_MODAL}>
{/* Scrim */}
<div className="fixed inset-0 z-[100] bg-slate-900/25 backdrop-blur-sm" onClick={onClose} />
<div className="fixed inset-0 z-[100] bg-black/40" onClick={onClose} />

{/* Card */}
<div className="fixed inset-0 z-[101] flex items-center justify-center p-5 pointer-events-none">
Expand Down
2 changes: 1 addition & 1 deletion apps/skillnet-web/src/components/layout/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ export function Sidebar({ role = 'employee' }: { role?: SidebarRole }) {
<motion.div
{...backdrop}
style={{ opacity: backdropOpacity }}
className="fixed inset-0 z-30 bg-black/10 backdrop-blur-sm md:hidden"
className="fixed inset-0 z-30 bg-black/40 md:hidden"
onClick={closeMobile}
/>
<motion.aside
Expand Down
Loading