Skip to content

Commit

Permalink
feat(app): add class for blank button
Browse files Browse the repository at this point in the history
  • Loading branch information
9inpachi committed Aug 5, 2021
1 parent bc7d375 commit 4df157b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ body {
background-color: #19506f;
}

.btn-blank {
color: inherit;
background: unset;
border: unset;
}

canvas {
width: 100%;
max-width: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<div class="phoenix-menu-item-right">
<div *ngIf="currentNode.configs.length > 0">
<button
class="icon-wrapper icon-button item-settings"
class="icon-wrapper icon-button btn-blank item-settings"
(click)="
calculateConfigTop();
currentNode.configActive = !currentNode.configActive
Expand Down Expand Up @@ -145,7 +145,7 @@
</div>
</div>
<button
class="icon-wrapper icon-button item-expand"
class="icon-wrapper icon-button btn-blank item-expand"
*ngIf="currentNode.children.length > 0"
(click)="currentNode.childrenActive = !currentNode.childrenActive"
[ngClass]="{ expanded: currentNode.childrenActive }"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,6 @@
}
}

.icon-button {
background: unset;
border: unset;
}

.icon-wrapper {
display: inline-block;
width: 1.3rem;
Expand Down

0 comments on commit 4df157b

Please sign in to comment.