Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
caddy
Commits
62b210b5
Commit
62b210b5
authored
Jan 06, 2016
by
Matthew Holt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
browse: Minor changes to improve icon positioning in template
Also make sure column header cells don't wrap
parent
1af7865e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
caddy/setup/browse.go
caddy/setup/browse.go
+13
-4
No files found.
caddy/setup/browse.go
View file @
62b210b5
...
@@ -182,6 +182,7 @@ th {
...
@@ -182,6 +182,7 @@ th {
padding-top: 15px;
padding-top: 15px;
padding-bottom: 15px;
padding-bottom: 15px;
font-size: 16px;
font-size: 16px;
white-space: nowrap;
}
}
th a {
th a {
...
@@ -198,8 +199,6 @@ td {
...
@@ -198,8 +199,6 @@ td {
td:first-child {
td:first-child {
width: 50%;
width: 50%;
overflow-wrap: break-word;
word-break: break-word;
}
}
th:last-child,
th:last-child,
...
@@ -207,6 +206,16 @@ td:last-child {
...
@@ -207,6 +206,16 @@ td:last-child {
text-align: right;
text-align: right;
}
}
td:first-child svg {
position: absolute;
}
td .name {
margin-left: 1.75em;
word-break: break-all;
overflow-wrap: break-word;
}
footer {
footer {
padding: 40px 20px;
padding: 40px 20px;
font-size: 12px;
font-size: 12px;
...
@@ -335,13 +344,13 @@ footer {
...
@@ -335,13 +344,13 @@ footer {
{{range .Items}}
{{range .Items}}
<tr>
<tr>
<td>
<td>
<a href="{{.URL}}"
class="name"
>
<a href="{{.URL}}">
{{if .IsDir}}
{{if .IsDir}}
<svg width="1.5em" height="1em" version="1.1" viewBox="0 0 35.678803 28.527945"><use xlink:href="#folder"></use></svg>
<svg width="1.5em" height="1em" version="1.1" viewBox="0 0 35.678803 28.527945"><use xlink:href="#folder"></use></svg>
{{else}}
{{else}}
<svg width="1.5em" height="1em" version="1.1" viewBox="0 0 26.604381 29.144726"><use xlink:href="#file"></use></svg>
<svg width="1.5em" height="1em" version="1.1" viewBox="0 0 26.604381 29.144726"><use xlink:href="#file"></use></svg>
{{end}}
{{end}}
{{.Name}}
<span class="name">{{.Name}}</span>
</a>
</a>
</td>
</td>
<td>{{.HumanSize}}</td>
<td>{{.HumanSize}}</td>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment