fix: lesson editor fixes

This commit is contained in:
Jannat Patel
2025-06-17 16:38:42 +05:30
parent 6a68ae989e
commit 023c8ac13e
7 changed files with 126 additions and 63 deletions

View File

@@ -101,6 +101,7 @@ import { ChevronRight } from 'lucide-vue-next'
import { getEditorTools, enablePlyr } from '@/utils'
import { capture, startRecording, stopRecording } from '@/telemetry'
import { useOnboarding } from 'frappe-ui/frappe'
import { edit } from 'ace-builds'
const { brand } = sessionStore()
const editor = ref(null)
@@ -653,6 +654,68 @@ iframe {
border-radius: 8px;
}
.ce-popover__container {
border-radius: 12px;
padding: 8px;
}
.cdx-search-field {
border: none;
}
.cdx-search-field__input {
font-weight: 400;
font-size: 13px;
}
.cdx-search-field__input::before {
font-weight: 400;
}
.cdx-search-field__input:focus {
--tw-ring-color: theme('colors.gray.100');
}
.ce-popover-item__title {
font-size: 13px;
font-weight: 400;
}
.ce-popover-item__icon svg {
width: 15px;
height: 15px;
}
.ce-popover--opened > .ce-popover__container {
max-height: 320px;
}
.cdx-search-field__icon svg {
width: 15px;
height: 15px;
}
.cdx-search-field__icon {
margin-right: 5px;
}
.cdx-block.embed-tool {
position: relative;
display: inline-block;
width: 100%;
}
.cdx-block.embed-tool::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: transparent;
z-index: 1000;
}
:root {
--plyr-range-fill-background: white;
--plyr-video-control-background-hover: transparent;