remove ugly scrollbar from popover

remotes/1693176582716663532/tmp_refs/heads/watchparty
Aevann1 2022-11-12 12:46:51 +02:00
parent 5cd354ceb3
commit 1de4b2098f
2 changed files with 18 additions and 9 deletions

View File

@ -6296,6 +6296,17 @@ div.markdown {
background: transparent;
}
.popover-badges-div {
max-height: 10vh !important;
overflow: auto;
scrollbar-width: none;
-ms-overflow-style: none;
}
.popover-badges-div::-webkit-scrollbar {
background: transparent;
}
@media (max-width: 768px) {
.d-mob-none {
display: none !important;
@ -6332,10 +6343,6 @@ div.markdown {
.fas.fa-ellipsis-h {
margin: 0 0.15rem 0 0 !important;
}
.pop-badges {
max-height: 10vh!important;
overflow: auto;
}
.pop-badge {
width: 32px;
height: 35px;

View File

@ -13,14 +13,16 @@
</div>
{% if FEATURES['USERS_PROFILE_BODYTEXT'] -%}
<div class="px-3 popover-bio-div y-scroll">
<span class="pop-bio popover-bio text-black"></span>
</div>
<div class="px-3 popover-bio-div y-scroll">
<span class="pop-bio popover-bio text-black"></span>
</div>
{%- endif %}
{% if FEATURES['BADGES'] -%}
<div class="pop-badges ml-3 mr-3 my-2">
</div>
<div class="px-3 popover-badges-div y-scroll">
<div class="pop-badges ml-3 mr-3 my-2">
</div>
</div>
{%- endif %}
<div class="border-top d-flex align-items-center p-3 gap-3 smol">