Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
weblate committed Jan 9, 2025
2 parents 47d253d + 009d09e commit 83b4e96
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 6 deletions.
1 change: 1 addition & 0 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,7 @@
}
},
"quests": "Quests",
"search": "Search",
"viewAllQuests": {
"title": "View All Quests"
}
Expand Down
30 changes: 26 additions & 4 deletions src/frontend/screens/Quests/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,34 @@
}

.detailsWrapper {
width: 800px;
width: 650px;
max-width: unset !important;

background-color: var(--color-neutral-800);
border: none;

@media (max-width: 1300px) {
width: 540px;
//Steam Deck
@media (max-width: 1280px) {
width: 600px;
}

@media (max-width: 1024px) {
width: 390px;
}
}

.tableContainer {
background-color: var(--color-neutral-800);
overflow-y: hidden;

//Steam DecK
@media (max-width: 1280px) {
width: 510px;
}

@media (max-width: 1024px) {
width: 480px;
}
}

.questSelectedLayout {
Expand All @@ -56,10 +70,18 @@
}
}

.searchBar {
display: flex;
justify-content: space-between;
align-items: center;
margin: var(--space-2xs);
font-size: var(--text-3xs);
padding-right: var(--space-2xs);
}

.loadingContainer {
padding: var(--space-2lg);
height: 100%;

display: flex;
justify-content: center;
align-items: center;
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/screens/Quests/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ export function QuestsPage() {
<SearchBar
searchText={searchText}
setSearchText={setSearchText}
i18n={{ placeholder: 'Search Quest' }}
styles={{ container: { margin: '0px 0px 0px auto' } }}
i18n={{ placeholder: t('quests.search', 'Search') }}
classNames={{ container: styles.searchBar }}
suggestions={suggestedSearchTitles}
/>
}
Expand Down

0 comments on commit 83b4e96

Please sign in to comment.