Problem:
Im trying to put my change button to the end of the flexbox, but its always with the title.
What ive tried
1.Ive tried to put the button in a div.
2.Ive tried all the alinge statements.
3.Ive put an !Important behind the aling statements
How it is
How it should be
What im using
Angular: 10.1.6
Code
Html
<div class="flexboxTitleandChangeButton">
<h1 style="margin-top: 10px">{{ projekt?.titel }}</h1>
<button class="flexboxChangeButton" sbbButton [mode]="'secondary'">Change</button>
</div>
SCSS
.flexboxTitleandChangeButton {
display: flex;
justify-content: flex-start;
}
.flexboxChangeButton{
margin-top: 20px;
align-items: flex-end !important;
}