Skip to content

Commit

Permalink
Merge pull request #140 from karl-kraus/elda/fix136-32
Browse files Browse the repository at this point in the history
fix:p263 indent #136; omit element #132
  • Loading branch information
linxOD authored Nov 28, 2024
2 parents e0c5bbe + 0a92923 commit 27933ea
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
6 changes: 5 additions & 1 deletion scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -615,9 +615,13 @@ wpn-detail-view:has(span[data-bs-toggle="popover"]:hover) details:not([open]) .s
margin-bottom: $spacer * 0.5;
}

#textcontent-pb .longQuoteVerseStart,
#textcontent-pb .longQuoteVerseEnd,
#textcontent-pb .longQuoteVerseMiddle,
#textcontent-pb .longQuoteVerseStart {
text-align-last: left;
text-align: left;
}

#textcontent-pb .inkLongQuoteVerse,
#textcontent-pb .typescriptLongQuoteVerse,
#textcontent-pb .typescriptLongQuoteVerseLeading {
Expand Down
10 changes: 8 additions & 2 deletions wpn-utils/wpn-typo-infobox-dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,16 @@ tpq.forEach((p) => {
const corresp = p.dataset.link?.split(" ");

corresp?.forEach((cor) => {

const cor_class = cor.replace("#", "");

const target = document.getElementById(cor_class);
target?.classList.toggle("bg-danger-subtle");
target?.children[0].classList.toggle("bg-danger-subtle");
target?.classList.toggle("bg-danger-subtle");

target?.querySelectorAll(".d-block").forEach((el) => {
el.classList.toggle("bg-danger-subtle");
});

});

});
Expand Down
3 changes: 2 additions & 1 deletion xslt/editions_typo.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@
<span class="inline-text "><xsl:apply-templates/></span>
</span>
</xsl:template>
<xsl:template match="tei:c">
<xsl:template match="tei:c[@resp='#edACE']"/>
<xsl:template match="tei:c[not(@resp='#edACE')]">
<xsl:value-of select="'&#x2060;&#x2009;&#x2060;'"/>
</xsl:template>
<xsl:template match="tei:corr"/>
Expand Down

0 comments on commit 27933ea

Please sign in to comment.