diff options
| author | Mistivia <i@mistivia.com> | 2025-02-05 15:39:41 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-02-05 15:39:41 +0800 |
| commit | 365c471cfea10e781b87a63e5b6b4e28a17e2bfc (patch) | |
| tree | 310414e9ada881446413ecebb15646fb06a47ed8 /src/components/LeftPanel.svelte | |
| parent | 473e284e3eba96a4845c4a1a6c155dfac1f7cb68 (diff) | |
impl main panel
Diffstat (limited to 'src/components/LeftPanel.svelte')
| -rw-r--r-- | src/components/LeftPanel.svelte | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/LeftPanel.svelte b/src/components/LeftPanel.svelte index c782d8b..f5d2fa8 100644 --- a/src/components/LeftPanel.svelte +++ b/src/components/LeftPanel.svelte @@ -3,7 +3,7 @@ import { leftPanelCardId, leftPanelCardDesc, -} from '../control/left_panel.svelte' +} from '../control/left_panel' </script> @@ -29,7 +29,7 @@ import { } .card-image-large { - height: 400px; + height: 40vh; text-align: center; background-color: #ddd; margin-bottom: 20px; @@ -39,11 +39,14 @@ import { .card-description { line-height: 1.6; font-size: 14px; + height: 55vh; } .card-desc-text { + height: 45vh; white-space: pre-wrap; word-wrap: break-word; + overflow: auto; } </style> |
