Skip to content

Commit

Permalink
pfp sizing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tempe-techie committed Mar 6, 2024
1 parent 1e2eaab commit 409e408
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/chat/ChatPost.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="card mb-3 border" v-if="post">
<div class="card-body row">
<div class="col-2 col-md-1">
<div class="col-2 col-md-1 pfp-sizing">
<NuxtLink :to="'/profile/?id='+String(showDomainOrFullAddress)">
<ProfileImage
class="img-fluid rounded-circle"
Expand All @@ -12,7 +12,7 @@
</NuxtLink>
</div>

<div class="col-10 col-md-11">
<div class="col-10 col-md-11 post-sizing">

<!-- post author and timestamp -->
<p class="card-subtitle mb-2 text-muted">
Expand Down
4 changes: 2 additions & 2 deletions components/chat/ChatQuote.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="card mb-3 border" v-if="post">
<div class="card-body row">
<div class="col-2 col-md-1">
<div class="col-2 col-md-1 pfp-sizing">
<NuxtLink :to="'/profile/?id='+String(showDomainOrFullAddress)">
<ProfileImage
class="img-fluid rounded-circle"
Expand All @@ -12,7 +12,7 @@
</NuxtLink>
</div>

<div class="col-10 col-md-11">
<div class="col-10 col-md-11 post-sizing">

<!-- post author and timestamp -->
<p class="card-subtitle mb-1 text-muted">
Expand Down
8 changes: 8 additions & 0 deletions public/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,14 @@ a:hover {
background-color: var(--bs-nav-pills-link-active-bg);
}

.pfp-sizing {
padding: calc(var(--bs-gutter-x)* .1);
}

.post-sizing {
padding-right: calc(var(--bs-gutter-x)* .4);
}

.quote-reply-to {
font-size: 0.725rem;
font-weight: 400;
Expand Down

0 comments on commit 409e408

Please sign in to comment.