limit height of bio in popover to 50vh

master
Aevann1 2022-10-17 10:51:16 +02:00
parent 61773a4c41
commit 3ee85d524b
2 changed files with 12 additions and 1 deletions

View File

@ -6306,3 +6306,14 @@ div.markdown {
.d-block {
display: block !important;
}
.popover-bio-div {
max-height: 50vh !important;
overflow: auto;
scrollbar-width: none;
-ms-overflow-style: none;
}
.popover-bio-div::-webkit-scrollbar {
background: transparent;
}

View File

@ -12,7 +12,7 @@
</div>
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}
<div class="px-3">
<div class="px-3 popover-bio-div y-scroll">
<span class="pop-bio popover-bio text-black"></span>
</div>
{%- endif %}