mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
Improvements to filenames in Dashboard
This commit is contained in:
parent
3f607501d6
commit
1334a03875
2 changed files with 4 additions and 3 deletions
|
@ -236,7 +236,7 @@
|
||||||
}
|
}
|
||||||
.file .title {
|
.file .title {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 8px;
|
font-size: 10px;
|
||||||
color: #666;
|
color: #666;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -296,6 +296,7 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
display: block;
|
display: block;
|
||||||
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
.overlay i {
|
.overlay i {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
|
@ -135,8 +135,8 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<a class="title">
|
<a class="title">
|
||||||
<% if file[:name].length > 15 %>
|
<% if file[:name].length > 19 %>
|
||||||
<%= file[:name].slice(0..14) %>…
|
<%= file[:name].slice(0..18) %>…
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= file[:name] %>
|
<%= file[:name] %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue