From 4868be193d82540604af5ba7b72bf062e7844538 Mon Sep 17 00:00:00 2001 From: strayge Date: Tue, 4 Nov 2025 01:51:09 +0600 Subject: [PATCH] move "All branches" and "History" buttons to top --- web/src/views/main-view/MainView.vue | 29 ++++++++++++---------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/web/src/views/main-view/MainView.vue b/web/src/views/main-view/MainView.vue index 08110aa..1c0f2f2 100644 --- a/web/src/views/main-view/MainView.vue +++ b/web/src/views/main-view/MainView.vue @@ -12,6 +12,8 @@
- -

Loading... @@ -197,28 +197,23 @@ details#log-config[open] { #main-panel #quick-branch-tips > button:hover { z-index: 1; } -#main-panel #quick-branch-tips > #all-branches, -#main-panel #quick-branch-tips > #history { +:deep(#show-all-branches[open] > .dv), +:deep(#history[open] > .dv) { position: absolute; + top: calc(100% + 5px); background: var(--vscode-editorWidget-background); border: 1px solid var(--vscode-editorWidget-border); - padding: 5px; - padding-right: 10px; border-radius: 5px; -} -#main-panel #quick-branch-tips > #all-branches { - top: 15px; - right: 10px; - z-index: 3; max-width: clamp(300px, 70vw, 80vw); + overflow: auto; + z-index: 5; } -#main-panel #quick-branch-tips > #history { - top: 52px; - right: 40px; - z-index: 2; +:deep(#show-all-branches[open] > .dv) { + right: 10px; } -#main-panel #quick-branch-tips > #history[open] { - left: 39px; +:deep(#history[open] > .dv) { + left: 10%; + max-width: 80%; } #main-panel #quick-branch-tips > #jump-to-top { right: -2px;