compose: Shorter the separator line between Send and 3-dot buttons.

Added a div inside #send_later button with class separator-line,
height 70%, width 1px and `background-color: hsl(0deg 0% 100% / 65%)`
to make it look like a line also made #send_later a flex with
`align-items: center` so that separator line is vertically centered.
This commit is contained in:
Hardik Dharmani
2023-05-02 22:34:39 +05:30
committed by Tim Abbott
parent 4d91df559c
commit 2aaf098ebc
2 changed files with 9 additions and 7 deletions

View File

@@ -866,21 +866,22 @@ a.compose_control_button.hide {
/* `^` icon located next to `Send` / `Scheduled` button which shows
options to schedule the message. */
#send_later {
display: flex;
align-items: center;
float: right;
color: hsl(0deg 0% 100%);
border-radius: 0 4px 4px 0;
border-left: 1px solid hsl(0deg 0% 100% / 65%);
padding: 0;
margin: 0;
.zulip-icon {
vertical-align: middle;
padding: 5px 9px;
}
&::before {
padding: 5px 9px;
position: relative;
top: -1px;
}
.separator-line {
background-color: hsl(0deg 0% 100% / 65%);
height: 70%;
width: 1px;
}
&:hover,

View File

@@ -124,6 +124,7 @@
<span>{{t 'Send' }}</span>
</button>
<button class="animated-purple-button message-control-button" id="send_later" tabindex=0 type="button" data-tippy-content="{{t 'Send later' }}">
<div class="separator-line"></div>
<i class="zulip-icon zulip-icon-ellipsis-v-solid"></i>
</button>
<template id="send-enter-tooltip-template">