diff --git a/src/templates/iframe.rs b/src/templates/iframe.rs index 4582fb0ee9..ff78affb18 100644 --- a/src/templates/iframe.rs +++ b/src/templates/iframe.rs @@ -26,7 +26,7 @@ impl Display for Iframe { if self.main { write!( f, - "", + "", self.inscription_id, self.inscription_id, ) @@ -59,7 +59,7 @@ mod tests { assert_regex_match!( Iframe::main(txid(1)) .0.to_string(), - "", + "", ); } } diff --git a/src/templates/inscription.rs b/src/templates/inscription.rs index 3be8902fd3..735851a695 100644 --- a/src/templates/inscription.rs +++ b/src/templates/inscription.rs @@ -35,8 +35,10 @@ mod tests { }, "

Inscription 1{64}

-
+
+
content
+
link
content size
10 bytes
content type
diff --git a/static/index.css b/static/index.css index f8333c5d81..8fc5c7962a 100644 --- a/static/index.css +++ b/static/index.css @@ -1,6 +1,6 @@ :root { --common: grey; - --dark-bg: hsl(200, 7%, 8%); + --dark-bg: #131516; --dark-fg: #98a3ad; --epic: darkorchid; --legendary: gold; diff --git a/static/preview-text.css b/static/preview-text.css index 4ab94b52da..0d5faa7f2e 100644 --- a/static/preview-text.css +++ b/static/preview-text.css @@ -1,7 +1,8 @@ -body { - margin: 0; +html { + background-color: #131516; + color: white; } -pre { - color: white; +body { + margin: 0; } diff --git a/templates/inscription.html b/templates/inscription.html index f4f1f9cf03..94c71d2171 100644 --- a/templates/inscription.html +++ b/templates/inscription.html @@ -2,6 +2,8 @@

Inscription {{ self.inscription_id }}

{{Iframe::main(self.inscription_id)}}
%% if let Some(content_size) = self.inscription.content_size() { +
content
+
link
content size
{{ content_size }} bytes
%% } diff --git a/templates/preview-image.html b/templates/preview-image.html index 9820de5939..0808b9179f 100644 --- a/templates/preview-image.html +++ b/templates/preview-image.html @@ -5,6 +5,7 @@