clean up UI on drive viewer

This commit is contained in:
Tim Bendt
2025-05-12 14:29:04 -06:00
parent 64146abb4e
commit d75f16c25d
5 changed files with 254 additions and 50 deletions

View File

@@ -82,15 +82,15 @@ class DocumentViewerScreen(Screen):
"""Compose the document viewer screen."""
yield Container(
Horizontal(
Container(
Button("", id="close_button"),
id="button_container"
),
Container(
Label(f"Viewing: {self.item_name}", id="document_title"),
Label(f'[link="{self.web_url}"]Open on Web[/link] | [link="{self.download_url}"]Download File[/link]', id="document_link"),
),
Container(
Button("Close", id="close_button"),
id="button_container"
),
id="top_container"
id="top_container"
),
ScrollableContainer(
Markdown("", id="markdown_content"),