Skip to content

Commit

Permalink
Merge pull request #586 from Studio-Yandex-Practicum/feature/festival…
Browse files Browse the repository at this point in the history
…-event-time-zone

Merge pull request #584 from Studio-Yandex-Practicum/bugfix-orientation
  • Loading branch information
AntonZelinsky authored Sep 20, 2024
2 parents 6020af5 + 38914f3 commit 866b8e4
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/components/event-card/event-card.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,12 @@
}
}
}

.timeZone {
@mixin text;
@mixin textMedium;

margin-left: 5px;
line-height: 30px;
vertical-align: super;
}
3 changes: 3 additions & 0 deletions src/components/event-card/event-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ export const EventCard = forwardRef<HTMLDivElement, EventCardProps>((props, ref)
</span>
<span>
{time}
<span className={cx('timeZone')}>
мск
</span>
</span>
</time>
<h3 className={cx('title')}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,12 @@
}
}
}

.timeZone {
@mixin text;
@mixin textMedium;

margin-left: 5px;
line-height: 30px;
vertical-align: super;
}
3 changes: 3 additions & 0 deletions src/components/festival-event-card/festival-event-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ export const FestivalEventCard: React.VFC<FestivalEventCardProps> = (props) => {
</dt>
<dd className={cx('time')}>
{time}
<span className={cx('timeZone')}>
мск
</span>
</dd>
<dt className={cx('hiddenText')}>
Место
Expand Down

0 comments on commit 866b8e4

Please sign in to comment.