Hide definition on mobile

foundation/home
jonahmania 2018-05-01 10:09:27 -04:00
parent 243a806c92
commit 0259725131
2 changed files with 16 additions and 3 deletions

View File

@ -71,7 +71,7 @@ function put_un_in_cookie2(){
</div>
</div>
<div class="book-detail-info" style="float:left;">
<div style="width: 520px;float: left;">
<div style="float: left;">
<div class="book-name" style="font-size:larger; margin-bottom:10px"><a href="{% url 'work' featured.id %}">{{ work.title }}</a></div>
<div>
<div class="pubinfo">
@ -87,7 +87,7 @@ function put_un_in_cookie2(){
{% endif %}
<span>{{ work.publication_date }}</span>
</div>
<div class="book-description" style="max-height:200px;overflow:scroll"> {{ work.description|safe }}</div>
<div class="book-description" style="max-height:200px;"> {{ work.description|safe }}</div>
</div>
</div>
</div>

View File

@ -5,7 +5,7 @@
.js-main-container {
margin-left: auto;
margin-right: auto;
max-width: 960px;
max-width: 960px;
}
#user-block1 {
@ -26,6 +26,10 @@
display: flex;
flex-direction: column;
}
#js-topsection {
visibility: hidden;
height: 0px;
}
}
@include breakpoint(medium up) {
@ -89,3 +93,12 @@
}
}
.book-description {
overflow: auto;
}
.book-detail {
display: flex;
}