diff --git a/static/index.css b/static/index.css index c494de8261..bee2f4e6e0 100644 --- a/static/index.css +++ b/static/index.css @@ -104,7 +104,7 @@ dl { overflow-wrap: break-word; } -ol, ul { +ul { overflow: hidden; } diff --git a/templates/blocks.html b/templates/blocks.html index c7c81174db..a957ebb856 100644 --- a/templates/blocks.html +++ b/templates/blocks.html @@ -1,19 +1,20 @@

Blocks

%% for (i, hash) in self.blocks.iter().enumerate() { -%% if let Some(inscription_ids) = &self.featured_blocks.get(hash) { +%% let height = self.last - u32::try_from(i).unwrap(); +%% if let Some(inscription_ids) = &self.featured_blocks.get(hash) {
-

Block {{ self.last - i as u32 }}

+

Block {{ height }}

-%% for id in *inscription_ids { +%% for id in *inscription_ids { {{ Iframe::thumbnail(*id) }} -%% } +%% }
-%% } else { -%% if i == self.featured_blocks.len() { -
    -%% } +%% } else { +%% if i == self.featured_blocks.len() { +
      +%% }
    1. {{ hash }}
    2. -%% } +%% } %% }