mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-01-16 00:11:55 +00:00
Make webide "tabs" nicer
This commit is contained in:
parent
ec4f70cd12
commit
239c985056
@ -1,6 +1,10 @@
|
||||
<ul class="editor-tabs">
|
||||
<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>
|
||||
</ul>
|
||||
|
||||
|
@ -3,3 +3,11 @@
|
||||
width:100%;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.editor-tabs {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.editor-li {
|
||||
float: left;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user