This commit is contained in:
copyrighttxt
2026-08-03 17:32:42 -04:00
committed by GitHub
parent d2a0d2ba88
commit b8c141cde9
2 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@
</div>
</div>
<h4>Friends ( {{friendcount}} )</h4>
<div class="w-100 p-2 d-flex card-container" style="overflow-x: hidden;min-height: 100px;">
<div class="w-100 p-2 d-flex flex-nowrap card-container friends-scroll" style="min-height: 100px;">
{% for friend in friends %}
<a href="/users/{{friend.id}}/profile">
<div style="height: fit-content; width:90px;" class="me-3">
+15 -1
View File
@@ -30,4 +30,18 @@
display: table;
margin: 0 auto;
}
}
.friends-scroll {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scroll-behavior: smooth;
white-space: nowrap;
}
.friends-scroll a {
flex: 0 0 auto;
}
.friends-scroll::-webkit-scrollbar { display: none; }
.friends-scroll { -ms-overflow-style: none; scrollbar-width: none; }