mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-11-04 07:22:56 +00:00 
			
		
		
		
	Make webide "tabs" nicer
This commit is contained in:
		@@ -1,6 +1,10 @@
 | 
				
			|||||||
<ul class="editor-tabs">
 | 
					<ul class="editor-tabs">
 | 
				
			||||||
  <li class="editor-li" *ngFor="let file of files">
 | 
					  <li class="editor-li" *ngFor="let file of files">
 | 
				
			||||||
    <button class="editor-button" (click)="selectCode(file); requestCode();">{{file}}</button>
 | 
					    <button class="btn btn-primary btn-xs"
 | 
				
			||||||
 | 
					            [class.active]="filename === file"
 | 
				
			||||||
 | 
					            (click)="selectCode(file); requestCode();">
 | 
				
			||||||
 | 
					      {{file}}
 | 
				
			||||||
 | 
					    </button>
 | 
				
			||||||
  </li>
 | 
					  </li>
 | 
				
			||||||
</ul>
 | 
					</ul>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,3 +3,11 @@
 | 
				
			|||||||
  width:100%;
 | 
					  width:100%;
 | 
				
			||||||
  overflow: auto;
 | 
					  overflow: auto;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.editor-tabs {
 | 
				
			||||||
 | 
					  list-style: none;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.editor-li {
 | 
				
			||||||
 | 
					  float: left;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user