mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-30 18:17:53 +00:00 
			
		
		
		
	MINOR: sidebar ui fix (#14761)
* MINOR: sidebar ui fix * fix app icon movement
This commit is contained in:
		
							parent
							
								
									0d0d820305
								
							
						
					
					
						commit
						0d7833bf23
					
				| @ -107,9 +107,7 @@ const LeftSidebar = () => { | |||||||
|           <Link className="flex-shrink-0" id="openmetadata_logo" to="/"> |           <Link className="flex-shrink-0" id="openmetadata_logo" to="/"> | ||||||
|             <BrandImage |             <BrandImage | ||||||
|               alt="OpenMetadata Logo" |               alt="OpenMetadata Logo" | ||||||
|               className={classNames('vertical-middle ', { |               className="vertical-middle" | ||||||
|                 'm-l-sm': !isSidebarCollapsed, |  | ||||||
|               })} |  | ||||||
|               dataTestId="image" |               dataTestId="image" | ||||||
|               height={isSidebarCollapsed ? 30 : 34} |               height={isSidebarCollapsed ? 30 : 34} | ||||||
|               isMonoGram={isSidebarCollapsed} |               isMonoGram={isSidebarCollapsed} | ||||||
|  | |||||||
| @ -42,9 +42,8 @@ | |||||||
| 
 | 
 | ||||||
|   .brand-logo-container { |   .brand-logo-container { | ||||||
|     height: 64px; |     height: 64px; | ||||||
|     display: flex; |     padding-top: 17px; | ||||||
|     align-items: center; |     padding-left: 14px; | ||||||
|     justify-content: center; |  | ||||||
|     background: rgba(248, 248, 248, 1); |     background: rgba(248, 248, 248, 1); | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
| @ -53,10 +52,6 @@ | |||||||
|   .sidebar-open { |   .sidebar-open { | ||||||
|     width: 230px; |     width: 230px; | ||||||
| 
 | 
 | ||||||
|     .brand-logo-container { |  | ||||||
|       justify-content: flex-start; |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     .ant-menu-submenu-arrow { |     .ant-menu-submenu-arrow { | ||||||
|       opacity: 1; |       opacity: 1; | ||||||
|     } |     } | ||||||
| @ -69,12 +64,6 @@ | |||||||
|       display: none; |       display: none; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     .ant-menu-submenu-open { |  | ||||||
|       .ant-menu-submenu-title { |  | ||||||
|         background: rgba(9, 80, 197, 0.04); |  | ||||||
|       } |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
|     .left-sidebar-menu.ant-menu { |     .left-sidebar-menu.ant-menu { | ||||||
|       .ant-menu-item { |       .ant-menu-item { | ||||||
|         .ant-menu-item-icon { |         .ant-menu-item-icon { | ||||||
| @ -233,7 +222,8 @@ | |||||||
|     &:not(.ant-menu-horizontal) .ant-menu-item-selected, |     &:not(.ant-menu-horizontal) .ant-menu-item-selected, | ||||||
|     .ant-menu-item:active, |     .ant-menu-item:active, | ||||||
|     .ant-menu-submenu-title:active, |     .ant-menu-submenu-title:active, | ||||||
|     .ant-menu-item:hover { |     .ant-menu-item:hover, | ||||||
|  |     .ant-menu-submenu-title:hover { | ||||||
|       background-color: @left-nav-item-background; |       background-color: @left-nav-item-background; | ||||||
|       color: @text-color; |       color: @text-color; | ||||||
| 
 | 
 | ||||||
| @ -266,6 +256,13 @@ | |||||||
|   text-decoration: none; |   text-decoration: none; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | .left-panel-item.ant-btn-text { | ||||||
|  |   &:hover, | ||||||
|  |   &:focus { | ||||||
|  |     background: initial; | ||||||
|  |   } | ||||||
|  | } | ||||||
|  | 
 | ||||||
| .page-layout-leftpanel { | .page-layout-leftpanel { | ||||||
|   padding: 0 0 24px 0 !important; |   padding: 0 0 24px 0 !important; | ||||||
|   border-right: 1px solid @border-color; |   border-right: 1px solid @border-color; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashish Gupta
						Ashish Gupta