mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:39:37 -05:00 
			
		
		
		
	fix(web): sidebar artifact when toggle themes (#3955)
* fix for sidebar artifact when clicking the toggle * Fix the delay in the search-bar * format --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
		
							parent
							
								
									f8ff342852
								
							
						
					
					
						commit
						4bd77d5899
					
				@ -88,7 +88,7 @@
 | 
			
		||||
      <input
 | 
			
		||||
        type="text"
 | 
			
		||||
        name="q"
 | 
			
		||||
        class="w-full transition-all {grayTheme
 | 
			
		||||
        class="w-full {grayTheme
 | 
			
		||||
          ? 'dark:bg-immich-dark-gray'
 | 
			
		||||
          : 'dark:bg-immich-dark-bg'} px-14 py-4 text-immich-fg/75 dark:text-immich-dark-fg {showBigSearchBar
 | 
			
		||||
          ? 'rounded-t-3xl border  border-gray-200 bg-white dark:border-gray-800'
 | 
			
		||||
 | 
			
		||||
@ -3,7 +3,7 @@
 | 
			
		||||
 | 
			
		||||
<section
 | 
			
		||||
  id="sidebar"
 | 
			
		||||
  class="immich-scrollbar group relative z-10 flex w-18 flex-col gap-1 overflow-y-auto bg-immich-bg pt-8 transition-all duration-200 dark:bg-immich-dark-bg hover:sm:w-64 hover:sm:border-r hover:sm:pr-6 hover:sm:shadow-2xl hover:sm:dark:border-r-immich-dark-gray md:w-64 md:pr-6 hover:md:border-none hover:md:shadow-none"
 | 
			
		||||
  class="immich-scrollbar group relative z-10 flex w-18 flex-col gap-1 overflow-y-auto pt-8 transition-all duration-200 hover:sm:w-64 hover:sm:border-r hover:sm:pr-6 hover:sm:shadow-2xl hover:sm:dark:border-r-immich-dark-gray md:w-64 md:pr-6 hover:md:border-none hover:md:shadow-none"
 | 
			
		||||
>
 | 
			
		||||
  <slot />
 | 
			
		||||
</section>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user