Skip to content

Commit

Permalink
Fix angle position of event dropdown (hobbyfarm#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
jggoebel authored Jan 16, 2024
1 parent dce72bc commit 0621c8e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
<button class="nav-text" clrDropdownToggle>
<cds-icon shape="layers" solid></cds-icon>
{{ ctx.scheduledEventName }}
<cds-icon shape="angle" direction="down"></cds-icon>
<cds-icon
shape="angle"
direction="down"
class="dropdown-selection-angle"
></cds-icon>
</button>
<clr-dropdown-menu *clrIfOpen clrPosition="bottom">
<a
Expand Down
6 changes: 6 additions & 0 deletions src/app/app.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,9 @@
float: right;
position: relative;
}

.dropdown
.dropdown-toggle.nav-text
> cds-icon[shape^='angle'].dropdown-selection-angle {
right: 0.5rem;
}

0 comments on commit 0621c8e

Please sign in to comment.