This commit is contained in:
Ashley 2024-01-06 13:29:33 +00:00
parent 340b6a804f
commit 64a19da8c4

View file

@ -6,7 +6,6 @@
<link href=/css/app.main.css?v=3449 rel=stylesheet> <link href=/css/app.main.css?v=3449 rel=stylesheet>
<style> <style>
/* Define the grid container */ /* Define the grid container */
.grid-container { .grid-container {
display: grid; display: grid;
@ -21,7 +20,7 @@
.grid-item { .grid-item {
background-color: #333; background-color: #333;
padding: 20px; padding: 20px;
width:11em; max-width:5em;
text-align: center; text-align: center;
border-radius: 1em; border-radius: 1em;
} }
@ -79,10 +78,10 @@ a {
<% if (userSubs) { %> <% if (userSubs) { %>
<% for (const channelID in userSubs) { %> <% for (const channelID in userSubs) { %>
<div class="grid-item"> <div class="grid-item">
<img style="width:5em;border-radius:5px;margin-bottom: -23px;" src="<%= userSubs[channelID].avatar %>" alt="Avatar"><br > <img style="width:5em;border-radius:5px" src="<%= userSubs[channelID].avatar %>" alt="Avatar"><br >
<br> <br>
<%= userSubs[channelID].channelName %><br> <%= userSubs[channelID].channelName %><br>
<div style="gap: 1px;display: flex;margin-left:2em;margin-top: 6px;"> <div style="gap: 1px;display: flex;margin-left: -12px;">
<a href="/api/remove-channel-sub?ID=<%- userid %>&channelID=<%= channelID %>" style="margin-bottom:1px">unsub </a> <a href="/channel?id=<%= channelID %>">view</a> <a href="/api/remove-channel-sub?ID=<%- userid %>&channelID=<%= channelID %>" style="margin-bottom:1px">unsub </a> <a href="/channel?id=<%= channelID %>">view</a>
</div> </div> </div> </div>