mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	right-sidebar: Add keyboard instructions shortcut in bottom-right corner.
Fixes #9182. Adds a link to the keyboard shortcuts popup at the bottom-right corner of the right sidebar. A tooltip saying `Keyboard Shortcuts(?)` has been added to the icon. The icon is positioned using `position: fixed`.
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							c29fc8f0c3
						
					
				
				
					commit
					9ad292cf2a
				
			| @@ -52,6 +52,7 @@ $(function () { | ||||
|         $(".compose-content").css({left: sbWidth + "px", | ||||
|                                    "margin-right": (250 + sbWidth) + "px"}); | ||||
|         $("#compose-container").css("max-width", (1400 + sbWidth) + "px"); | ||||
|         $('#sidebar-keyboard-shortcuts #keyboard-icon').css({right: sbWidth + 13 + "px"}); | ||||
|  | ||||
|         $("head").append("<style> @media (max-width: 1025px) { .compose-content, .header-main .column-middle { margin-right: " + (7 + sbWidth) + "px !important; } } " + | ||||
|                          "@media (max-width: 775px) { .fixed-app .column-middle { margin-left: " + (7 + sbWidth) + "px !important; } } " + | ||||
|   | ||||
		Reference in New Issue
	
	Block a user