From a24c7730bd10b194891c16b97d4a914347ef44e6 Mon Sep 17 00:00:00 2001 From: Michael An <1822852997@qq.com> Date: Thu, 23 May 2019 15:55:13 +0800 Subject: [PATCH] history page style --- frontend/src/css/file-history.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/frontend/src/css/file-history.css b/frontend/src/css/file-history.css index f4df686154..a9880391d1 100644 --- a/frontend/src/css/file-history.css +++ b/frontend/src/css/file-history.css @@ -151,5 +151,25 @@ .history-side-panel { width: 260px; } + .history-content .main-panel { + max-width: calc(100% - 260px); + } } +@media (max-width:991.8px) { + .history-content .main-panel { + max-width: calc(100% - 190px); + } +} + +@media (max-width:768px) { + .history-content .main-panel { + max-width: 100%; + } + .markdown-viewer-render-content { + margin: 20px; + } + .markdown-viewer-render-content .diff-view { + padding: 20px; + } +}