blockquote fix

make it a real button
This commit is contained in:
Barış Soner Uşaklı
2026-02-26 14:15:07 -05:00
parent e4c945f636
commit 28f62afb3d
3 changed files with 6 additions and 5 deletions

View File

@@ -79,9 +79,10 @@ html[data-dir="rtl"] {
}
blockquote {
background-color: $light;
font-style: italic;
border-left: 4px solid $primary;
background-color: rgba(var(--bs-body-color-rgb), 0.03);
color: var(--bs-body-color);
font-style: normal;
border-radius: $border-radius-sm;
padding: 1rem;
p:last-child {
margin-bottom: 0;

View File

@@ -221,7 +221,7 @@ define('forum/topic', [
const toggle = $(this);
blockQuote.toggleClass('uncollapsed');
const collapsed = !blockQuote.hasClass('uncollapsed');
toggle.toggleClass('fa-angle-down', collapsed).toggleClass('fa-angle-up', !collapsed);
toggle.find('i').toggleClass('fa-angle-down', collapsed).toggleClass('fa-angle-up', !collapsed);
});
}

View File

@@ -441,7 +441,7 @@ define('forum/topic/posts', [
nestedBlockQuote.each(function () {
const $this = $(this);
if ($this.find(':hidden:not(br)').length && !$this.find('.toggle').length) {
$this.append('<i class="d-inline-block fa fa-angle-down pointer toggle py-1 px-3 border text-bg-light"></i>');
$this.append('<button class="toggle btn btn-ghost btn-sm d-inline-block py-1 px-3"><i class="fa fa-angle-down"></i>');
}
});
};