mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-06 20:55:21 +00:00
Change titles on graph and backlink card to divs, for better compatability with themes
This commit is contained in:
parent
c889b6dc9e
commit
6b1460d0c0
@ -5,7 +5,7 @@
|
|||||||
{%if settings.dgShowLocalGraph === true%}
|
{%if settings.dgShowLocalGraph === true%}
|
||||||
<div class="graph">
|
<div class="graph">
|
||||||
<div style="display: flex; justify-content: flex-end;">
|
<div style="display: flex; justify-content: flex-end;">
|
||||||
<h6 class="graph-title">Interactive graph</h6>
|
<div class="graph-title">Interactive graph</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="link-graph"></div>
|
<div id="link-graph"></div>
|
||||||
</div>
|
</div>
|
||||||
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
{%if settings.dgShowBacklinks === true %}
|
{%if settings.dgShowBacklinks === true %}
|
||||||
<div class="backlinks">
|
<div class="backlinks">
|
||||||
<h6 class="backlink-title" style="margin: 4px 0 !important;">Links to this page</h6>
|
<div class="backlink-title" style="margin: 4px 0 !important;">Links to this page</div>
|
||||||
{%- if backlinks.length === 0 -%}
|
{%- if backlinks.length === 0 -%}
|
||||||
<div class="backlink-card">
|
<div class="backlink-card">
|
||||||
No backlinks
|
No backlinks
|
||||||
|
@ -103,6 +103,7 @@ ul.task-list {
|
|||||||
.backlink-title {
|
.backlink-title {
|
||||||
margin: 4px 0;
|
margin: 4px 0;
|
||||||
font-size: 18px !important;
|
font-size: 18px !important;
|
||||||
|
color: var(--h6-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -121,6 +122,7 @@ ul.task-list {
|
|||||||
padding: 12px;
|
padding: 12px;
|
||||||
font-size: 18px !important;
|
font-size: 18px !important;
|
||||||
border-radius: 10px 10px 0 0;
|
border-radius: 10px 10px 0 0;
|
||||||
|
color: var(--h6-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user