alpha
Login
or
Join now
alice.pds.demo.boltless.dev
/
core
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
2
Pulls
1
Pipelines
more fixes to blob
author
Akshay
date
2 years ago
(Feb 16, 2025, 11:49 AM UTC)
commit
9e8b205e
9e8b205e6817fc3feefb90b6ebed8ef4392f3985
parent
e18580cd
e18580cd6e7a297654d56d2c916f2f4db940be44
+1
-1
1 changed file
Expand all
Collapse all
Unified
Split
appview
pages
templates
repo
blob.html
+1
-1
appview/pages/templates/repo/blob.html
View file
Reviewed
···
2
2
{{ $lines := split .Contents }}
3
3
{{ $tot_lines := len $lines }}
4
4
{{ $tot_chars := len (printf "%d" $tot_lines) }}
5
5
-
{{ $code_number_style := "code-line-num text-gray-400 mr-2 px-1 sticky left-0 bg-white border-r border-black text-right" }}
5
5
+
{{ $code_number_style := "text-gray-400 left-0 bg-white text-right mr-2 select-none" }}
6
6
<pre class="font-mono text-sm overflow-auto relative text-ellipsis"><code>{{ range $idx, $line := $lines }}<span class="flex">
7
7
<span class="{{ $code_number_style }}" style="min-width: {{$tot_chars}}ch;">{{ add $idx 1 }}</span>
8
8
<span class="whitespace-pre">{{ $line }}</span></span>{{ else }}<em class="text-gray-400">this file is empty</em>{{ end }}</code></pre>