mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-11-04 02:52:55 +00:00 
			
		
		
		
	Logo is aligned to the left in the header, but still using grid layout
This commit is contained in:
		
							
								
								
									
										4
									
								
								src/app/header/header.component.html
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										4
									
								
								src/app/header/header.component.html
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							@@ -3,8 +3,8 @@
 | 
			
		||||
<!--    <ul class="navbar-nav tao-grid-center-right">
 | 
			
		||||
      <li class="nav-item tao-header-title">an</li>
 | 
			
		||||
    </ul>-->
 | 
			
		||||
    <img src="images/avatao_logo.svg" routerLink="/" class="tao-grid-center-right tao-company-logo" alt="">
 | 
			
		||||
    <ul class="navbar-nav tao-grid-center-left">
 | 
			
		||||
    <img src="images/avatao_logo.svg" routerLink="/" class="tao-grid-center-left tao-company-logo" alt="">
 | 
			
		||||
    <ul class="navbar-nav">
 | 
			
		||||
      <li class="nav-item tao-header-title">Tutorials</li>
 | 
			
		||||
    </ul>
 | 
			
		||||
  </div>
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										5
									
								
								src/app/header/header.component.scss
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										5
									
								
								src/app/header/header.component.scss
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							@@ -25,6 +25,7 @@ $font-size-h3: floor(($font-size-base * 1.3));
 | 
			
		||||
 | 
			
		||||
$tao-navbar-height: 67px;
 | 
			
		||||
 | 
			
		||||
$company-logo-width: 130px;
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Classes
 | 
			
		||||
@@ -44,14 +45,14 @@ $tao-navbar-height: 67px;
 | 
			
		||||
 | 
			
		||||
.tao-grid-navbar {
 | 
			
		||||
  display: grid;
 | 
			
		||||
  grid-template-columns: 1fr 1fr;
 | 
			
		||||
  grid-template-columns: $company-logo-width 1fr;
 | 
			
		||||
  grid-column-gap: 8px;
 | 
			
		||||
  width: 100%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.tao-company-logo {
 | 
			
		||||
  display: block;
 | 
			
		||||
  width: 130px;
 | 
			
		||||
  width: $company-logo-width;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.tao-company-logo-mobile {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user