Skip to content

Commit

Permalink
fix(map-view): display external viewer button correctly
Browse files Browse the repository at this point in the history
template allows truncate in dropdown within flex layout, without cutting outlines
  • Loading branch information
tkohr committed Oct 20, 2023
1 parent 13bd9db commit adeabd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(buttonClick)="openInExternalViewer()"
type="secondary"
[title]="'record.externalViewer.open' | translate"
extraClass="!p-[0.6em] !rounded-lg"
extraClass="ms-2 !rounded-lg"
>
<mat-icon class="material-symbols-outlined">open_in_new</mat-icon>
</gn-ui-button>
5 changes: 3 additions & 2 deletions libs/feature/record/src/lib/map-view/map-view.component.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<div class="w-full h-full flex flex-col p-1">
<div class="w-full mb-7 mt-1">
<div class="w-full flex justify-end mb-7 mt-1">
<gn-ui-dropdown-selector
class="truncate p-1 -mx-1"
extraBtnClass="!text-primary font-sans font-medium"
[title]="'map.select.layer' | translate"
[choices]="dropdownChoices$ | async"
(selectValue)="selectLinkToDisplay($event)"
></gn-ui-dropdown-selector>
<gn-ui-external-viewer-button
class="shrink-0"
class="shrink-0 py-1 place-self-end"
[link]="selectedLink$ | async"
[mapConfig]="mapConfig"
>
Expand Down

0 comments on commit adeabd3

Please sign in to comment.