forked from MarseyWorld/MarseyWorld
limit height of bio in popover to 50vh
parent
61773a4c41
commit
3ee85d524b
|
@ -6306,3 +6306,14 @@ div.markdown {
|
||||||
.d-block {
|
.d-block {
|
||||||
display: block !important;
|
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;
|
||||||
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}
|
{% 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>
|
<span class="pop-bio popover-bio text-black"></span>
|
||||||
</div>
|
</div>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
Loading…
Reference in New Issue