Commit 38ea2566 authored by Sandro Lutz's avatar Sandro Lutz Committed by Sandro Lutz
Browse files

Fix styling issue with joboffers on mobile devices

parent 692c0dc0
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
} }
} }
.content { .joboffer-content {
grid-area: content; grid-area: content;
padding: 1em; padding: 1em;
......
...@@ -128,7 +128,10 @@ export default class JobofferList extends FilteredListPage { ...@@ -128,7 +128,10 @@ export default class JobofferList extends FilteredListPage {
header: () => header: () =>
m('div.joboffer-header', [ m('div.joboffer-header', [
m('div.image.ratio-3to2', m('img', { src: imageurl, alt: joboffer.company })), m('div.image.ratio-3to2', m('img', { src: imageurl, alt: joboffer.company })),
m('div.content', [m('h2.title', joboffer.getTitle()), m('div.date', datePhrase)]), m('div.joboffer-content', [
m('h2.title', joboffer.getTitle()),
m('div.date', datePhrase),
]),
]), ]),
content: ({ expanded }) => { content: ({ expanded }) => {
if (expanded) { if (expanded) {
......
Supports Markdown
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