diff --git a/books/templates/books/detail.html b/books/templates/books/detail.html index 848315fa..baaf1b6b 100644 --- a/books/templates/books/detail.html +++ b/books/templates/books/detail.html @@ -12,14 +12,14 @@ + + {% if book.author %} {% endif %} {% if book.isbn %} {% endif %} - - {% trans 'Nicedb - 书籍详情' %} | {{ book.title }} diff --git a/common/static/css/boofilsic.css b/common/static/css/boofilsic.css index f52d4955..f9da274a 100644 --- a/common/static/css/boofilsic.css +++ b/common/static/css/boofilsic.css @@ -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; } diff --git a/common/static/sass/_MainSection.sass b/common/static/sass/_MainSection.sass index 87fd5dbe..ac44fa09 100644 --- a/common/static/sass/_MainSection.sass +++ b/common/static/sass/_MainSection.sass @@ -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