Fixed lack of spacing above scan credits if no description
This commit is contained in:
parent
e29763a411
commit
5b0a19a2c5
1
TODO.md
1
TODO.md
|
@ -13,7 +13,6 @@
|
||||||
- [Feat] Add languages to collectibles and pages previews
|
- [Feat] Add languages to collectibles and pages previews
|
||||||
- [Feat] [RichTextContent] Handle relationship
|
- [Feat] [RichTextContent] Handle relationship
|
||||||
- [Bugs] Vollkorn doesn't support many languages
|
- [Bugs] Vollkorn doesn't support many languages
|
||||||
- [Bugs] [Scans] Lack of spacing above credits if no description (e.g: https://v3.accords-library.com/en/collectibles/dod-official-guide-book-complete-edition/scans)
|
|
||||||
- [Feat] [Timeline] Improve layout/spacing on mobile
|
- [Feat] [Timeline] Improve layout/spacing on mobile
|
||||||
- [Feat] Display if a content has a source language
|
- [Feat] Display if a content has a source language
|
||||||
- [Feat] [JSLess] Display if a content is available in more than one language
|
- [Feat] [JSLess] Display if a content is available in more than one language
|
||||||
|
|
|
@ -52,9 +52,11 @@ const hasOutsideObi = obi ? Object.keys(obi).some((value) => !value.includes("in
|
||||||
subtitle={translation.subtitle}
|
subtitle={translation.subtitle}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{translation.description && <AppLayoutDescription description={translation.description} />}
|
<div id="meta" class:list={{ "with-description": translation.description }}>
|
||||||
|
{translation.description && <AppLayoutDescription description={translation.description} />}
|
||||||
|
|
||||||
{credits.length > 0 && <Credits credits={credits} />}
|
{credits.length > 0 && <Credits credits={credits} />}
|
||||||
|
</div>
|
||||||
|
|
||||||
{
|
{
|
||||||
cover && (
|
cover && (
|
||||||
|
@ -305,6 +307,10 @@ const hasOutsideObi = obi ? Object.keys(obi).some((value) => !value.includes("in
|
||||||
{/* ------------------------------------------- CSS -------------------------------------------- */}
|
{/* ------------------------------------------- CSS -------------------------------------------- */}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
#meta:not(.with-description) {
|
||||||
|
margin-block: 3em;
|
||||||
|
}
|
||||||
|
|
||||||
section {
|
section {
|
||||||
margin-block: 6em;
|
margin-block: 6em;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue