Skip to content

Commit

Permalink
feat(viewer-selector): move selector to top end
Browse files Browse the repository at this point in the history
  • Loading branch information
AmitMY committed Sep 23, 2024
1 parent ff1436a commit d804ff1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ng-container *transloco="let t; read: 'settings.poseViewer'">
<ion-fab vertical="center">
<ion-fab id="viewer-selector">
<ion-fab-button
size="small"
[color]="fab.color"
Expand All @@ -8,7 +8,7 @@
matTooltipPosition="before">
<ion-icon [name]="fab.icon"></ion-icon>
</ion-fab-button>
<ion-fab-list side="top">
<ion-fab-list side="bottom">
@for (button of fabButtons; track button) {
<ion-fab-button
[color]="button.color"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
:host {
display: inline-block;
width: 56px;
ion-fab#viewer-selector {
top: 0;
right: 0;
}

ion-fab {
display: block;
::ng-deep html[dir='rtl'] ion-fab#viewer-selector {
right: auto;
left: 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
<ion-spinner name="crescent" color="dark"></ion-spinner>
</ion-button>
}
<app-viewer-selector></app-viewer-selector>
</div>
<app-viewer-selector></app-viewer-selector>
}

0 comments on commit d804ff1

Please sign in to comment.