diff --git a/js/components/ascribe_accordion_list/accordion_list_item.js b/js/components/ascribe_accordion_list/accordion_list_item.js index fc8715a7..53739f3a 100644 --- a/js/components/ascribe_accordion_list/accordion_list_item.js +++ b/js/components/ascribe_accordion_list/accordion_list_item.js @@ -11,15 +11,14 @@ let AccordionListItem = React.createClass({ }, render() { - console.log(this.props.content); return (
-
+
-
+

{this.props.content.title}

{getLangText('by %s', this.props.content.artist_name)}

{this.props.content.date_created.split('-')[0]}

diff --git a/sass/ascribe_accordion_list.scss b/sass/ascribe_accordion_list.scss index 13023d0f..fefba59c 100644 --- a/sass/ascribe_accordion_list.scss +++ b/sass/ascribe_accordion_list.scss @@ -21,29 +21,20 @@ $ascribe-accordion-list-font: 'Source Sans Pro'; height:100%; // ToDo: Include media queries for thumbnail .thumbnail-wrapper { - float:left; - height:100%; - width:$ascribe-accordion-list-item-height; - overflow:hidden; + margin-left:0; padding-left:0; - padding-right:0; - img { + display:block; height: $ascribe-accordion-list-item-height; } } - .info-wrapper { - float:left; - font-family: $ascribe-accordion-list-font; - margin-left: 2em; - h1 { - margin-top: .5em; - font-size: 2.25em; - } - h3 { - font-size: 1.1em; - margin: .7em 0 0 0; - } + h1 { + margin-top: .3em; + font-size: 2.25em; + } + h3 { + font-size: 1.1em; + margin: .7em 0 0 0; } } }