fds
This commit is contained in:
parent
5580383547
commit
df73f81da7
3 changed files with 18 additions and 8 deletions
|
@ -121,7 +121,7 @@
|
||||||
<div class="px-3">
|
<div class="px-3">
|
||||||
<span class="text-black">{% if c.author.bio_html %}{{c.author.bio_html | safe}}{% endif %}</span>
|
<span class="text-black">{% if c.author.bio_html %}{{c.author.bio_html | safe}}{% endif %}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="border-top d-flex align-items-center px-2 my-3 gap-3 smol">
|
<div class="border-top d-flex align-items-center px-2 py-3 gap-3 smol">
|
||||||
<span>
|
<span>
|
||||||
<strong class="text-black">{{c.author.post_count}}</strong>
|
<strong class="text-black">{{c.author.post_count}}</strong>
|
||||||
<span class="text-black">posts</span>
|
<span class="text-black">posts</span>
|
||||||
|
@ -728,7 +728,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.popover {
|
.popover {
|
||||||
max-width: 320px;
|
max-width: 100%;
|
||||||
box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
|
box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
|
||||||
border-color: #dadada;
|
border-color: #dadada;
|
||||||
}
|
}
|
||||||
|
@ -781,7 +781,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.smol {
|
.smol {
|
||||||
font-size: 10px;
|
font-size: 11.5px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
@ -176,7 +176,7 @@
|
||||||
<div class="px-3">
|
<div class="px-3">
|
||||||
<span class="text-black">{% if p.author.bio_html %}{{p.author.bio_html | safe}}{% endif %}</span>
|
<span class="text-black">{% if p.author.bio_html %}{{p.author.bio_html | safe}}{% endif %}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="border-top d-flex align-items-center px-2 my-3 gap-3 smol">
|
<div class="border-top d-flex align-items-center px-2 py-3 gap-3 smol">
|
||||||
<span>
|
<span>
|
||||||
<strong class="text-black">{{p.author.post_count}}</strong>
|
<strong class="text-black">{{p.author.post_count}}</strong>
|
||||||
<span class="text-black">posts</span>
|
<span class="text-black">posts</span>
|
||||||
|
|
|
@ -20,6 +20,16 @@
|
||||||
console.log(e);
|
console.log(e);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'));
|
||||||
|
|
||||||
|
const popoverList = popoverTriggerList.map(function(popoverTriggerEl) {
|
||||||
|
const popoverId = popoverTriggerEl.getAttribute('data-content-id');
|
||||||
|
const contentEl = document.getElementById(popoverId).innerHTML;
|
||||||
|
return new bootstrap.Popover(popoverTriggerEl, {
|
||||||
|
content: contentEl,
|
||||||
|
html: true,
|
||||||
|
});
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{% for p in listing %}
|
{% for p in listing %}
|
||||||
|
@ -36,7 +46,7 @@
|
||||||
<div class="px-3">
|
<div class="px-3">
|
||||||
<span class="text-black">{% if p.author.bio_html %}{{p.author.bio_html | safe}}{% endif %}</span>
|
<span class="text-black">{% if p.author.bio_html %}{{p.author.bio_html | safe}}{% endif %}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="border-top d-flex align-items-center px-2 my-3 gap-3 smol">
|
<div class="border-top d-flex align-items-center px-2 py-3 gap-3 smol">
|
||||||
<span>
|
<span>
|
||||||
<strong class="text-black">{{p.author.post_count}}</strong>
|
<strong class="text-black">{{p.author.post_count}}</strong>
|
||||||
<span class="text-black">posts</span>
|
<span class="text-black">posts</span>
|
||||||
|
@ -570,7 +580,7 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.popover {
|
.popover {
|
||||||
max-width: 320px;
|
max-width: 100%;
|
||||||
box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
|
box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
|
||||||
border-color: #dadada;
|
border-color: #dadada;
|
||||||
}
|
}
|
||||||
|
@ -623,7 +633,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.smol {
|
.smol {
|
||||||
font-size: 10px;
|
font-size: 11.5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mod:before {
|
.mod:before {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue