Skip to content

Commit

Permalink
fix(atlas): remplacer <div> par <aside> dans la liste des favoris et …
Browse files Browse the repository at this point in the history
…corriger la terminologie pour "territoire"
  • Loading branch information
jerem1508 committed Jan 27, 2025
1 parent 8ba9b47 commit b39dc8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/src/pages/atlas/components/favorites-list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default function FavoritesList({ territoiresList }: { territoiresList: Te

const theme = getThemeFromHtmlNode();
return (
<div
<aside
className="fr-p-2w"
style={{
backgroundColor: getComputedStyle(document.documentElement).getPropertyValue(`--bg-${theme}`),
Expand Down Expand Up @@ -92,6 +92,6 @@ export default function FavoritesList({ territoiresList }: { territoiresList: Te
</li>
))}
</ul>
</div>
</aside>
);
}
4 changes: 3 additions & 1 deletion client/src/pages/atlas/components/main/tabs/search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,11 @@ export function Search() {
</Row>
<Row className="fr-mt-5w">
<Col md={9} className="search">
<Title as="h2" look="h6" className="fr-mb-1w">
<label className="fr-label" htmlFor="text-input-text">
Rechercher un territoires
Rechercher un territoire
</label>
</Title>
<input
className="fr-input"
id="text-input-text"
Expand Down

0 comments on commit b39dc8b

Please sign in to comment.