Word?
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h4>Friends ( {{friendcount}} )</h4>
|
<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 %}
|
{% for friend in friends %}
|
||||||
<a href="/users/{{friend.id}}/profile">
|
<a href="/users/{{friend.id}}/profile">
|
||||||
<div style="height: fit-content; width:90px;" class="me-3">
|
<div style="height: fit-content; width:90px;" class="me-3">
|
||||||
|
|||||||
@@ -31,3 +31,17 @@
|
|||||||
margin: 0 auto;
|
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; }
|
||||||
Reference in New Issue
Block a user