From f4e44228a7d258274c19006b2ec9f8eba7a92bb6 Mon Sep 17 00:00:00 2001 From: aryanshridhar Date: Fri, 16 Jul 2021 18:14:08 +0000 Subject: [PATCH] message_edit: Improve the style for dropdown toggle button. Earlier, the `stream_header_colorblock` wasn't properly styled with the dropdown toggle button from a UI perspective. This was so because they had a few space between them due to inconsistencies in their border radius. This commit adds an border-radius property to the message_edit dropdown toggle button to eliminate the above issue and improve it's overall look. --- static/styles/zulip.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/styles/zulip.css b/static/styles/zulip.css index 0a699d2a75..626f4a4790 100644 --- a/static/styles/zulip.css +++ b/static/styles/zulip.css @@ -2532,6 +2532,12 @@ div.topic_edit_spinner .loading_indicator_spinner { } } + /* Override the default border-radius to properly align + the button corners with `stream_header_colorblock`. */ + .dropdown-toggle { + border-radius: 1px 4px 4px 1px !important; + } + .stream_header_colorblock { margin-bottom: 20px; }