From aef14be13c3bd9e93eeea598dbfbf707ba98d448 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 14 Sep 2023 23:47:16 +0800 Subject: ... --- .../src/pages/timeline/edit/MarkdownPostEdit.css | 34 ++++++++-------------- 1 file changed, 12 insertions(+), 22 deletions(-) (limited to 'FrontEnd/src/pages/timeline/edit/MarkdownPostEdit.css') diff --git a/FrontEnd/src/pages/timeline/edit/MarkdownPostEdit.css b/FrontEnd/src/pages/timeline/edit/MarkdownPostEdit.css index 33a77943..c5b41b40 100644 --- a/FrontEnd/src/pages/timeline/edit/MarkdownPostEdit.css +++ b/FrontEnd/src/pages/timeline/edit/MarkdownPostEdit.css @@ -1,34 +1,24 @@ -.timeline-markdown-post-edit-page { - overflow: auto; - max-height: 300px; +.timeline-edit-markdown-tab-page { + min-height: 8em; + display: flex; } -.timeline-post-create-markdown-edit-area { - border: 1px solid var(--cru-clickable-primary-normal-color); - border-top: none; - border-bottom-left-radius: 5px; - border-bottom-right-radius: 5px; - padding: 0.6em; +.timeline-edit-markdown-text { + width: 100%; } -.timeline-post-create-markdown-edit-area:hover { - border: 1px solid var(--cru-clickable-primary-normal-color); - border-top: none; +.timeline-edit-markdown-images { + display: flex; + flex-wrap: wrap; } -.timeline-markdown-post-edit-image-container { - position: relative; - text-align: center; - margin-bottom: 1em; +.timeline-edit-markdown-images img { + max-width: 100%; + max-height: 200px; } -.timeline-markdown-post-edit-image { +.timeline-edit-markdown-preview img { max-width: 100%; max-height: 200px; } -.timeline-markdown-post-edit-image-delete-button { - position: absolute; - right: 10px; - top: 2px; -} -- cgit v1.2.3