Skip to content

Commit 01eaeab

Browse files
committed
fix use case css
1 parent e48870e commit 01eaeab

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/use-cases/messaging.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ import cb from "./img/cbw.png";
1111

1212
In an age where communication is vital, both in personal and professional realms, privacy and security are paramount. XMTP provides a robust solution that can be integrated into chat apps, whether they are peer-to-peer messaging apps or team communication platforms, offering users secure channels for exchanging information without compromising privacy.
1313

14-
<div class="chain-list white">
14+
<div class="chain-list">
1515
<a href="https://getconverse.app" class="chain-item">
16-
<img alt="Converse logo" src={converse} />
16+
<img alt="Converse logo" src={converse} width="80" height="80" loading="eager" />
1717
<span>Converse</span>
1818
</a>
1919
<a href="https://xmtp.chat/" class="chain-item">
20-
<img alt="XMTP logo" src={webinbox} />
20+
<img alt="XMTP logo" src={webinbox} width="80" height="80" loading="eager" />
2121
<span>xmtp.chat dev tool</span>
2222
</a>
2323
<a href="https://www.coinbase.com/wallet" class="chain-item">

src/css/tailwind.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,8 @@ ul li a:before {
966966
}*/
967967
.chain-item img {
968968
width: 100%;
969-
max-width: 80px; /* 20% smaller than before */
969+
max-width: 80px;
970+
aspect-ratio: 1 / 1; /* forces a square placeholder */
970971
margin-bottom: 10px;
971972
object-fit: contain;
972973
}

0 commit comments

Comments
 (0)