mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	send_later: Remove Bootstrap nav nav-list CSS classes dependency.
				
					
				
			This is a prep commit for removing `nav nav-list` classes from all popovers. The send later modal, although not being a popover specifically, was the last place in the code still using `nav nav-list` classes.
This commit is contained in:
		@@ -527,3 +527,21 @@
 | 
			
		||||
#invite_users_option_tabs_container {
 | 
			
		||||
    margin-bottom: 20px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#send_later_options {
 | 
			
		||||
    .send_later_list {
 | 
			
		||||
        margin: 0;
 | 
			
		||||
        list-style: none;
 | 
			
		||||
 | 
			
		||||
        .send_later_option {
 | 
			
		||||
            display: flex;
 | 
			
		||||
            padding: 3px 15px;
 | 
			
		||||
 | 
			
		||||
            &:focus,
 | 
			
		||||
            &:hover {
 | 
			
		||||
                text-decoration: none;
 | 
			
		||||
                background-color: hsl(0deg 0% 0% / 20%);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,26 +1,26 @@
 | 
			
		||||
<div id="send_later_options">
 | 
			
		||||
    <ul class="nav nav-list">
 | 
			
		||||
    <ul class="send_later_list">
 | 
			
		||||
        {{#if possible_send_later_today}}
 | 
			
		||||
            {{#each possible_send_later_today}}
 | 
			
		||||
                <li>
 | 
			
		||||
                    <a id="{{@key}}" class="send_later_today" data-send-stamp="{{this.stamp}}" tabindex="0">{{this.text}}</a>
 | 
			
		||||
                    <a id="{{@key}}" class="send_later_today send_later_option" data-send-stamp="{{this.stamp}}" tabindex="0">{{this.text}}</a>
 | 
			
		||||
                </li>
 | 
			
		||||
            {{/each}}
 | 
			
		||||
        {{/if}}
 | 
			
		||||
        {{#each send_later_tomorrow}}
 | 
			
		||||
            <li>
 | 
			
		||||
                <a id="{{@key}}" class="send_later_tomorrow" data-send-stamp="{{this.stamp}}" tabindex="0">{{this.text}}</a>
 | 
			
		||||
                <a id="{{@key}}" class="send_later_tomorrow send_later_option" data-send-stamp="{{this.stamp}}" tabindex="0">{{this.text}}</a>
 | 
			
		||||
            </li>
 | 
			
		||||
        {{/each}}
 | 
			
		||||
        {{#if possible_send_later_monday }}
 | 
			
		||||
            {{#each possible_send_later_monday}}
 | 
			
		||||
                <li>
 | 
			
		||||
                    <a id="{{@key}}" class="send_later_monday" data-send-stamp="{{this.stamp}}" tabindex="0">{{this.text}}</a>
 | 
			
		||||
                    <a id="{{@key}}" class="send_later_monday send_later_option" data-send-stamp="{{this.stamp}}" tabindex="0">{{this.text}}</a>
 | 
			
		||||
                </li>
 | 
			
		||||
            {{/each}}
 | 
			
		||||
        {{/if}}
 | 
			
		||||
        <li>
 | 
			
		||||
            <a class="send_later_custom" tabindex="0">{{t 'Custom time'}}</a>
 | 
			
		||||
            <a class="send_later_custom send_later_option" tabindex="0">{{t 'Custom time'}}</a>
 | 
			
		||||
        </li>
 | 
			
		||||
    </ul>
 | 
			
		||||
</div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user