From 5800b73a209abb134bd7add5ec65edcb9eadcf94 Mon Sep 17 00:00:00 2001 From: shadowusr Date: Thu, 3 Oct 2024 01:59:00 +0300 Subject: [PATCH] feat(new-ui): draw diff mode picker in the center --- .../components/ScreenshotsTreeViewItem/index.module.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/static/new-ui/features/suites/components/ScreenshotsTreeViewItem/index.module.css b/lib/static/new-ui/features/suites/components/ScreenshotsTreeViewItem/index.module.css index cd80c159..c04265b2 100644 --- a/lib/static/new-ui/features/suites/components/ScreenshotsTreeViewItem/index.module.css +++ b/lib/static/new-ui/features/suites/components/ScreenshotsTreeViewItem/index.module.css @@ -12,6 +12,10 @@ gap: 8px; } +.toolbar-container > div:only-child { + justify-content: center; +} + .accept-button { composes: action-button from global; } @@ -24,6 +28,7 @@ .diff-mode-container { container-type: inline-size; flex-grow: 1; + display: flex; } .diff-mode-switcher {