Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3130 from bbc/apply-program-card-link-to-start-ti…
Browse files Browse the repository at this point in the history
…me-component

Apply link to start-time
  • Loading branch information
EinsteinNjoroge authored Feb 13, 2020
2 parents 89e0c08 + cab9433 commit f2126e9
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
1 change: 1 addition & 0 deletions packages/components/psammead-radio-schedule/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

| Version | Description |
|---------|-------------|
| 0.1.0-alpha.8 | [PR#3130](https://github.com/bbc/psammead/pull/3130) Apply program-card's link to start-time component |
| 0.1.0-alpha.7 | [PR#3129](https://github.com/bbc/psammead/pull/3129) Talos - Bump Dependencies - @bbc/gel-foundations |
| 0.1.0-alpha.6 | [PR#3050](https://github.com/BBC-News/psammead/pull/3050) Create a wrapper around start-time and program-card. |
| 0.1.0-alpha.5 | [PR#3074](https://github.com/BBC-News/psammead/pull/3074) Format hidden start time in program card component. |
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/components/psammead-radio-schedule/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bbc/psammead-radio-schedule",
"version": "0.1.0-alpha.7",
"version": "0.1.0-alpha.8",
"main": "dist/index.js",
"module": "esm/index.js",
"sideEffects": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ exports[`ProgramCard should render correctly for live 1`] = `
.c0 {
padding-top: 0.5rem;
background-color: #FFFFFF;
position: relative;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
Expand Down Expand Up @@ -331,7 +330,6 @@ exports[`ProgramCard should render correctly for next 1`] = `
.c0 {
padding-top: 0.5rem;
background-color: #FFFFFF;
position: relative;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
Expand Down Expand Up @@ -629,7 +627,6 @@ exports[`ProgramCard should render correctly for onDemand 1`] = `
.c0 {
padding-top: 0.5rem;
background-color: #FFFFFF;
position: relative;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
Expand Down Expand Up @@ -898,7 +895,6 @@ exports[`ProgramCard should render correctly in RTL 1`] = `
.c0 {
padding-top: 0.5rem;
background-color: #FFFFFF;
position: relative;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import { formatUnixTimestamp } from '@bbc/psammead-timestamp-container/utilities
const CardWrapper = styled.div`
padding-top: ${GEL_SPACING};
background-color: ${C_WHITE};
position: relative;
display: flex;
flex-direction: column;
border: 0.0625rem solid transparent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ exports[`RadioSchedule should render ltr radio schedules correctly 1`] = `
.c9 {
padding-top: 0.5rem;
background-color: #FFFFFF;
position: relative;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
Expand Down Expand Up @@ -284,6 +283,10 @@ exports[`RadioSchedule should render ltr radio schedules correctly 1`] = `
padding: 1rem 0 0.5rem;
}
.c2 {
position: relative;
}
@media (min-width:20rem) and (max-width:37.4375rem) {
.c11 {
font-size: 1rem;
Expand Down Expand Up @@ -1017,7 +1020,6 @@ exports[`RadioSchedule should render rtl radio schedules correctly 1`] = `
.c9 {
padding-top: 0.5rem;
background-color: #FFFFFF;
position: relative;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
Expand Down Expand Up @@ -1238,6 +1240,10 @@ exports[`RadioSchedule should render rtl radio schedules correctly 1`] = `
padding: 1rem 0 0.5rem;
}
.c2 {
position: relative;
}
@media (min-width:20rem) and (max-width:37.4375rem) {
.c11 {
font-size: 1.25rem;
Expand Down
1 change: 1 addition & 0 deletions packages/components/psammead-radio-schedule/src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const StyledGrid = styled(Grid)`
display: flex;
flex-direction: column;
}
position: relative;
`;

const renderSchedule = ({
Expand Down

0 comments on commit f2126e9

Please sign in to comment.