clean up UI on drive viewer
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user