Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #326 from GuillaumeGomez/case-inconsistency
Browse files Browse the repository at this point in the history
Capitalize first letter in favorites too
  • Loading branch information
amatissart authored Aug 6, 2019
2 parents d3b4207 + d782b0b commit 437fe5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/scss/includes/panels/favorite_panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ $MASQ_BANNER_HEIGHT: 93px;
color: $secondary_text;
}

.favorite_panel__item__desc:first-letter {
text-transform: uppercase;
}

.favorite_panel__item__more_container {
background: $background;
max-height: 100px;
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/tests/poi.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ test('add a poi as favorite and find it back in the favorite menu', async () =>
let fav = await getFavorites(page);
expect(fav).toHaveLength(1);
expect(fav[0].title).toEqual('Musée d\'Orsay');
expect(fav[0].desc).toEqual('musée');
expect(fav[0].desc).toEqual('Musée');
expect(fav[0].icons).toContainEqual('icon-museum');

// we then reopen the poi panel and 'unstar' the poi.
Expand Down

0 comments on commit 437fe5d

Please sign in to comment.