Skip to content

Commit

Permalink
fix: améliore l'affordance du bouton de retour pour les agents
Browse files Browse the repository at this point in the history
  • Loading branch information
johangirod committed Apr 29, 2024
1 parent 40afff1 commit 0811279
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components-ui/floating-help-button/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3) !important;
transition: transform 100ms ease-in-out, box-shadow 100ms ease-in-out;

& > span:first-of-type {
& span {
padding-left: 5px;
}
}
Expand Down
6 changes: 2 additions & 4 deletions components-ui/icon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -399,14 +399,12 @@ const discussion = (
<svg
width="100%"
height="100%"
viewBox="0 0 30 30"
viewBox="0 0 42 42"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M28.5 0.5C29.3284 0.5 30 1.17157 30 2V23C30 23.8284 29.3284 24.5 28.5 24.5H6.6825L0 29.75V2C0 1.17157 0.671573 0.5 1.5 0.5H28.5ZM16.5 15.5H13.5V18.5H16.5V15.5ZM16.5 6.5H13.5V14H16.5V6.5Z"
d="M38.8457 0H3.31938C1.43541 0 0 1.52564 0 3.32051V26.7436C0 28.6282 1.52512 30.0641 3.31938 30.0641H5.38277V40.2949C5.38277 41.0128 5.83134 41.641 6.45933 41.9103C6.63875 42 6.90789 42 7.08732 42C7.53588 42 7.98445 41.8205 8.3433 41.4615L19.378 29.9744H38.6662C40.5502 29.9744 41.9856 28.4487 41.9856 26.6538V3.32051C42.165 1.52564 40.6399 0 38.8457 0ZM18.8397 15.7949L15.7895 20.2821H12.2907L14.1746 15.7949C13.2775 15.1667 12.8289 14.2692 12.8289 13.1923C12.8289 12.1154 13.1878 11.2179 13.8158 10.5897C14.4438 9.96154 15.3409 9.60256 16.3277 9.60256C17.3146 9.60256 18.122 9.87179 18.8397 10.5C19.4677 11.1282 19.8265 11.9359 19.8265 12.9231C19.8265 13.9103 19.4677 14.8974 18.8397 15.7949ZM28.9773 15.7949L25.927 20.2821H22.4282L24.3122 15.7949C23.4151 15.1667 22.9665 14.2692 22.9665 13.1923C22.9665 12.1154 23.3253 11.2179 23.9533 10.5897C24.5813 9.96154 25.4785 9.60256 26.4653 9.60256C27.4521 9.60256 28.2596 9.87179 28.9773 10.5C29.6052 11.1282 29.9641 11.9359 29.9641 12.9231C29.9641 13.9103 29.5155 14.8974 28.9773 15.7949Z"
fill="white"
/>
</svg>
Expand Down
3 changes: 2 additions & 1 deletion components/feedback-modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,15 @@ export default function FeedbackModal({ agentContactInfo }: IProps) {
<FloatingHelpButton>
<button
ref={buttonRef}
aria-label="Partager une idée, un bug, une question ou une donnée manquante avec l'équipe de l'Annuaire des Entreprises"
aria-label="Dites-nous tout : partager une idée, un bug, une question ou une donnée manquante avec l'équipe de l'Annuaire des Entreprises"
onClick={() => (opened ? handleClose() : handleOpen())}
aria-controls="feedback-modal"
aria-haspopup="dialog"
aria-expanded={opened}
className={styles.button}
>
<Icon slug="discussion" size={24} />
<span>Dites-nous tout</span>
</button>
</FloatingHelpButton>
)}
Expand Down

0 comments on commit 0811279

Please sign in to comment.