From 4b0787b12bff23b3f0873ee0dd3d8f0e3f9fb0af Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 3 Jun 2021 12:09:51 +0200 Subject: Added a proper blob page --- src/frontend/components/RepositoryTreeBlob.vue | 133 ++++++++++++++++++++++++- src/frontend/scss/style.scss | 5 + 2 files changed, 137 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/frontend/components/RepositoryTreeBlob.vue b/src/frontend/components/RepositoryTreeBlob.vue index a0a7514..f287f47 100644 --- a/src/frontend/components/RepositoryTreeBlob.vue +++ b/src/frontend/components/RepositoryTreeBlob.vue @@ -1,8 +1,23 @@ \ No newline at end of file diff --git a/src/frontend/scss/style.scss b/src/frontend/scss/style.scss index 1f2cd6a..0cc748d 100644 --- a/src/frontend/scss/style.scss +++ b/src/frontend/scss/style.scss @@ -353,6 +353,11 @@ th { } } +[line]::before { + content: attr(line); + padding-right: 10px; +} + @include media-breakpoint-down(sm) { .commit-file table tbody tr td { padding-left: 4px; -- cgit v1.2.3-18-g5258