Skip to content

Commit

Permalink
♻️ certif: hide return buttons on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiaPena committed Dec 17, 2024
1 parent 8df0393 commit fe2a8fc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion certif/app/components/sessions/session-details/index.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default class SessionDetails extends Component {
}

<template>
<PixReturnTo @route='authenticated.sessions' class='previous-button'>
<PixReturnTo @route='authenticated.sessions' class='previous-button hide-on-mobile'>
{{t 'pages.sessions.actions.return'}}
</PixReturnTo>
<SessionDetailsHeader
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PixReturnTo
@route="authenticated.sessions.details.certification-candidates"
@model={{@model.session.id}}
class="previous-button"
class="previous-button hide-on-mobile"
>
{{t "common.sessions.actions.return-to"}}
</PixReturnTo>
Expand Down
6 changes: 5 additions & 1 deletion certif/app/templates/authenticated/sessions/finalize.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{{page-title this.pageTitle replace=true}}
<div class="finalize">
<div class="finalize__title">
<PixReturnTo @route="authenticated.sessions.details" @model={{this.session.id}} class="previous-button">
<PixReturnTo
@route="authenticated.sessions.details"
@model={{this.session.id}}
class="previous-button hide-on-mobile"
>
{{t "common.sessions.actions.return-to"}}
</PixReturnTo>
<h1 class="page-title">{{t "pages.session-finalization.title" sessionId=this.session.id}}</h1>
Expand Down

0 comments on commit fe2a8fc

Please sign in to comment.