diff --git a/src/ui/src/assets/css/_noFile.scss b/src/ui/src/assets/css/_noFile.scss index 445720e..c10280b 100644 --- a/src/ui/src/assets/css/_noFile.scss +++ b/src/ui/src/assets/css/_noFile.scss @@ -9,9 +9,9 @@ width: 60%; height: auto; opacity: 0.4; - background: color(sidebarBackground); - border-radius: 1rem; - border: dashed 6px color(scrollbar); +// background: color(sidebarBackground); +// border-radius: 1rem; +// border: dashed 6px color(scrollbar); padding: 2rem 4rem; text-align: center; max-width: 500px; @@ -23,4 +23,13 @@ } } } + + .titlebar { + position: absolute; + top: 0; + left: 0; + app-region: drag; + height: 30px; + width: 100%; + } } \ No newline at end of file diff --git a/src/ui/src/components/NoFile.js b/src/ui/src/components/NoFile.js index b8f99e9..a728498 100644 --- a/src/ui/src/components/NoFile.js +++ b/src/ui/src/components/NoFile.js @@ -11,12 +11,13 @@ const NoFile = ({openFile}) => {
.md
file or