Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-vasconcelos committed Dec 7, 2023
1 parent 61ccc3d commit e8fc346
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
13 changes: 8 additions & 5 deletions frontend/components/LineDisplay/LineDisplay.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,22 @@
display: flex;
align-items: center;
justify-content: center;
min-width: 65px;
max-width: 65px;
min-height: 26px;
max-height: 26px;
border-radius: 999px;
color: #ffffff;
background-color: var(--gray9);
font-size: 16px;
font-weight: 800;
letter-spacing: 1px;
line-height: 1;
}

.badge.md {
font-size: 16px;
min-width: 65px;
max-width: 65px;
min-height: 26px;
max-height: 26px;
}

.badge.lg {
font-size: 20px;
min-width: 85px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function LinesExplorerContentHeader() {

return (
<div className={styles.container}>
<LineBadge short_name={linesExplorerContext.entities.line.short_name} color={linesExplorerContext.entities.line.color} text_color={linesExplorerContext.entities.line.text_color} />
<LineBadge short_name={linesExplorerContext.entities.line.short_name} color={linesExplorerContext.entities.line.color} text_color={linesExplorerContext.entities.line.text_color} size="lg" />
<p className={styles.destinationLabel}>{t('destination_label')}</p>
<LinesExplorerContentSelectPattern />
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
.container {
display: flex;
flex-direction: column;
gap: var(--size-xs);
gap: 10px;
padding: var(--size-lg);
align-items: center;
width: 100%;
Expand All @@ -18,5 +18,6 @@

.destinationLabel {
color: var(--gray6);
font-size: 14px;
font-size: 15px;
font-weight: 600;
}

0 comments on commit e8fc346

Please sign in to comment.