damus.io

damus.io website
git clone git://jb55.com/damus.io
Log | Files | Refs | README

commit 77721c97d3a3573d64cac92633ed9e4e722e45e2
parent 7f54dbc23a444a2282bbcce00625067270ff1da7
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 28 Oct 2022 09:17:01 -0700

Fix post css on smaller screens

Diffstat:
Mwebv2/damus.css | 9++++++---
Mwebv2/damus.js | 2+-
Mwebv2/index.html | 4++--
3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/webv2/damus.css b/webv2/damus.css @@ -61,9 +61,12 @@ textarea, input { } #newpost { - padding: 20px; - margin: auto; - width: 70% + margin: 0 auto 20px auto; + width: 100% +} + +::placeholder { + color: rgba(255,255,255,0.7); } #post-input { diff --git a/webv2/damus.js b/webv2/damus.js @@ -365,7 +365,7 @@ async function send_post() { function render_home_view(model) { return ` <div id="newpost"> - <input id="post-input" type="text"></input> + <input placeholder="What's on your mind?" id="post-input" type="text"></input> <button onclick="send_post(this)" id="post-button">Post</button> </div> <div id="events"> diff --git a/webv2/index.html b/webv2/index.html @@ -6,7 +6,7 @@ <title>Damus Web</title> - <link rel="stylesheet" href="damus.css?v=7"> + <link rel="stylesheet" href="damus.css?v=8"> </head> <body> <section class="header"> @@ -41,7 +41,7 @@ <script src="noble-secp256k1.js?v=1"></script> <script src="bech32.js?v=1"></script> <script src="nostr.js?v=3"></script> - <script src="damus.js?v=10"></script> + <script src="damus.js?v=11"></script> <script> const relay = damus_web_init() </script>