fix display issue of more-link on entity detail page

This commit is contained in:
doubaniux 2020-07-03 17:15:48 +08:00
parent f18a75b7fc
commit 49081b4f53
3 changed files with 8 additions and 2 deletions

View file

@ -12,14 +12,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:title" content="NiceDB书 - {{ book.title }}">
<meta property="og:type" content="book">
<meta property="og:url" content="{{ request.build_absolute_uri }}">
<meta property="og:image" content="{{ request.scheme }}://{{ request.get_host }}{{ book.cover.url }}">
{% if book.author %}
<meta property="og:book:author" content="{% for author in book.author %}{{ author }}{% if not forloop.last %},{% endif %}{% endfor %}">
{% endif %}
{% if book.isbn %}
<meta property="og:book:isbn" content="{{ book.isbn }}">
{% endif %}
<meta property="og:url" content="{{ request.build_absolute_uri }}">
<meta property="og:image" content="{{ request.scheme }}://{{ request.get_host }}{{ book.cover.url }}">
<title>{% trans 'Nicedb - 书籍详情' %} | {{ book.title }}</title>
<script src="https://cdn.staticfile.org/jquery/3.5.0/jquery.min.js"></script>

View file

@ -1213,6 +1213,7 @@ select::placeholder {
}
.entity-desc .entity-desc__title {
display: inline-block;
margin-bottom: 8px;
}
@ -1222,6 +1223,7 @@ select::placeholder {
.entity-marks .entity-marks__title {
margin-bottom: 8px;
display: inline-block;
}
.entity-marks .entity-marks__title > a {
@ -1269,6 +1271,7 @@ select::placeholder {
}
.entity-reviews .entity-reviews__title {
display: inline-block;
margin-bottom: 8px;
}

View file

@ -135,6 +135,7 @@ $mark-review-padding-wider: 6px 0
.entity-desc
margin-bottom: $sub-sections-between-margin
& &__title
display: inline-block
margin-bottom: $sub-section-title-margin
& &__content
@ -146,6 +147,7 @@ $mark-review-padding-wider: 6px 0
margin-bottom: $sub-sections-between-margin
& &__title
margin-bottom: $sub-section-title-margin
display: inline-block
& > a
margin-right: 5px
&--stand-alone
@ -186,6 +188,7 @@ $mark-review-padding-wider: 6px 0
&:first-child
margin-bottom: $sub-sections-between-margin
& &__title
display: inline-block
margin-bottom: $sub-section-title-margin
& > a
margin-right: 5px