mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	flatpickr: Visual improvements.
* Fix time input buttons not positioned correctly. On <768px screens: * Center align flatpickr. * Remove bottom arrow. We should ideally have a semi-transparent black background for flatpickr on mobile but it is hard to do so with flatpickr being inserted into DOM by an external library.
This commit is contained in:
		@@ -2687,9 +2687,34 @@ select.inline_select_topic_edit {
 | 
			
		||||
    margin: 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Hide the up and down arrows in the Flatpickr datepicker year */
 | 
			
		||||
.flatpickr-months .numInputWrapper span {
 | 
			
		||||
    display: none;
 | 
			
		||||
.flatpickr-calendar {
 | 
			
		||||
    /* Hide the up and down arrows in the Flatpickr datepicker year */
 | 
			
		||||
    .flatpickr-months .numInputWrapper span {
 | 
			
		||||
        display: none;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .flatpickr-time-separator {
 | 
			
		||||
        position: relative;
 | 
			
		||||
        left: 5px;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .flatpickr-time input {
 | 
			
		||||
        margin: 0 5px;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @media (width < $md_min) {
 | 
			
		||||
        /* Center align flatpickr on mobile
 | 
			
		||||
         * devices so that it doesn't go out of
 | 
			
		||||
         * the viewport. */
 | 
			
		||||
        left: 0 !important;
 | 
			
		||||
        right: 0 !important;
 | 
			
		||||
        margin: auto;
 | 
			
		||||
 | 
			
		||||
        &::after,
 | 
			
		||||
        &::before {
 | 
			
		||||
            border-top-width: 0;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#about-zulip {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user