From ac2aac2bcbf6fcb0b9c074895674a299f28306e1 Mon Sep 17 00:00:00 2001 From: Benjamin Shafii Date: Tue, 31 Dec 2024 15:43:16 +0100 Subject: [PATCH] fix: tailwind styling issues --- packages/plugin/tailwind.config.js | 1 + packages/plugin/views/assistant/ai-chat/audio-recorder.tsx | 7 ++++--- packages/plugin/views/assistant/view.tsx | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/plugin/tailwind.config.js b/packages/plugin/tailwind.config.js index a2e4feac..d8536ce9 100644 --- a/packages/plugin/tailwind.config.js +++ b/packages/plugin/tailwind.config.js @@ -24,4 +24,5 @@ module.exports = { corePlugins: { preflight: false, // Keeps Obsidian's base styles }, + important: '#app', } diff --git a/packages/plugin/views/assistant/ai-chat/audio-recorder.tsx b/packages/plugin/views/assistant/ai-chat/audio-recorder.tsx index c74ab2de..f4d3aef6 100644 --- a/packages/plugin/views/assistant/ai-chat/audio-recorder.tsx +++ b/packages/plugin/views/assistant/ai-chat/audio-recorder.tsx @@ -139,10 +139,11 @@ export const AudioRecorder: React.FC = ({ return (
- + {debug && recordings.length > 0 && (
diff --git a/packages/plugin/views/assistant/view.tsx b/packages/plugin/views/assistant/view.tsx index c1274cf9..9d2d17cb 100644 --- a/packages/plugin/views/assistant/view.tsx +++ b/packages/plugin/views/assistant/view.tsx @@ -186,6 +186,7 @@ export class AssistantViewWrapper extends ItemView { this.root?.render( +
+
);