diff --git a/prototype/icons/clone.svg b/prototype/icons/clone.svg
new file mode 100644
index 0000000..973e8c7
--- /dev/null
+++ b/prototype/icons/clone.svg
@@ -0,0 +1,20 @@
+
+
+
+
diff --git a/prototype/index.html b/prototype/index.html
index 9a4467c..04a1c4f 100644
--- a/prototype/index.html
+++ b/prototype/index.html
@@ -64,14 +64,14 @@ for the JavaScript code in this page.
viewing
- owner/repo/branch |
- gitea@git.tebibyte.media:/owner/repo
+ owner/repo/branch
@@ -84,22 +84,22 @@ for the JavaScript code in this page.
file name |
- most recent commit |
+ most recent commit |
|
directory/ |
- most recent commit |
+ most recent commit |
|
file name |
- most recent commit |
+ most recent commit |
|
file name |
- most recent commit |
+ most recent commit |
|
diff --git a/prototype/style.css b/prototype/style.css
index 46b5b11..fad4ba0 100644
--- a/prototype/style.css
+++ b/prototype/style.css
@@ -130,7 +130,7 @@ header .buttonList {
var(--background) 100%);
}
- nav > .buttonListWrap:first-child {
+ nav > .buttonListWrap {
text-align: center;
}
@@ -188,9 +188,15 @@ header .buttonList {
.files td {
border: none;
padding: 0;
+ min-width: 0;
+}
+
+.files td > * {
+ text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
- text-overflow: ellipsis;
+ max-width: 100%;
+ display: block;
}
.files td:last-child {
@@ -218,7 +224,8 @@ header .buttonList {
.dashboardButton::before,
.watchButton::before,
.starButton::before,
-.forkButton::before
+.forkButton::before,
+.cloneButton::before
{
content: "";
width: 16px;
@@ -262,6 +269,10 @@ header .buttonList {
background-image: url("icons/fork.svg");
}
+.cloneButton::before {
+ background-image: url("icons/clone.svg");
+}
+
.previewLabel {
color: var(--subtle-foreground);
}