Make webide "tabs" nicer

This commit is contained in:
Kristóf Tóth 2018-02-07 16:11:11 +01:00
parent ec4f70cd12
commit 239c985056
2 changed files with 13 additions and 1 deletions

View File

@ -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>

View File

@ -3,3 +3,11 @@
width:100%; width:100%;
overflow: auto; overflow: auto;
} }
.editor-tabs {
list-style: none;
}
.editor-li {
float: left;
}