Skip to content

Commit

Permalink
style(orga): move copy paste button by adding top margin
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelie-crouillebois authored Dec 30, 2024
1 parent 11525e4 commit bb0a8de
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions orga/app/styles/pages/authenticated/mission.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
}
}

.copy-paste-button-container {
margin-top: 4px;
}

.pix-icon {
width: 1rem;
height: 1rem;
Expand Down
12 changes: 7 additions & 5 deletions orga/app/templates/authenticated/missions/list.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@
</span>
<div class="mission-list-banner__school-code">
Code :&nbsp;<b>{{this.schoolCode}}</b>
<CopyPasteButton
@clipBoardtext={{this.schoolCode}}
@successMessage="{{t 'pages.missions.list.banner.copypaste-container.button.success'}}"
@defaultMessage="{{t 'pages.missions.list.banner.copypaste-container.button.tooltip'}}"
/>
<div class="copy-paste-button-container">
<CopyPasteButton
@clipBoardtext={{this.schoolCode}}
@successMessage="{{t 'pages.missions.list.banner.copypaste-container.button.success'}}"
@defaultMessage="{{t 'pages.missions.list.banner.copypaste-container.button.tooltip'}}"
/>
</div>
</div>
</div>
</li>
Expand Down

0 comments on commit bb0a8de

Please sign in to comment.