Commit 3470b080 authored by Andrew Hrdy's avatar Andrew Hrdy

Changed some fonts with the sidebar.

parent 9bd1ae60
Pipeline #2014 passed with stages
in 1 minute and 51 seconds
import React from 'react';
import Grid from 'material-ui/Grid';
import facilityUtils from '../utils/facilityUtils';
import Typography from 'material-ui/Typography';
const WeekHours = ({facility}) => {
const weekDays = [
......@@ -21,8 +22,12 @@ const WeekHours = ({facility}) => {
for (let i = 0; i < todaysHours.length; i++) {
output[index] = (
<Grid container spacing={0} key={facility.slug + index} className="week-hours-row">
<Grid item xs={2} className="week-hours-day">{weekDays[dayOfWeek]}</Grid>
<Grid item className="week-hours-times">{todaysHours[i].text}</Grid>
<Grid item xs={2}>
<Typography type={'body1'}>{weekDays[dayOfWeek]}</Typography>
</Grid>
<Grid item>
<Typography type={'body1'}>{todaysHours[i].text}</Typography>
</Grid>
</Grid>
);
index++;
......
.text-w-title-label {
font-family: "Roboto-Regular","-apple-system", "Helvetica", "Arial", sans-serif;;
font-size: 12px;
color: rgba(0, 0, 0, .54);
font-family: "Roboto", "-apple-system", "Helvetica", "Arial", sans-serif;
font-size: 14px;
line-height: 24px;
font-weight: 500;
color: rgba(0, 0, 0, 0.87);
}
.text-w-title-content {
font-family: "Roboto-Medium", "-apple-system", "Helvetica", "Arial", sans-serif;
font-family: "Roboto", "-apple-system", "Helvetica", "Arial", sans-serif;
font-size: 14px;
line-height: 20px;
font-weight: 400;
color: rgba(0, 0, 0, 0.87);
text-overflow: ellipsis;
width: 100%;
white-space: nowrap;
overflow: hidden;
color: #354052;
}
\ No newline at end of file
......@@ -2,15 +2,6 @@
.week-hours-row {
font-size: 14px;
color: #354052;
}
.week-hours-day {
font-family: Roboto-Regular, Helvetica-Neue;
}
.week-hours-times {
font-family: Roboto-Medium;
}
@media screen and (max-width: map-get($breakpoints, lg) - 1px) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment