Browse Source

优化#2038文件名超长时超出范围省略

tags/v1.22.6.1^2
OpenIhu 3 years ago
parent
commit
8bbb1faf88
2 changed files with 5 additions and 1 deletions
  1. +1
    -1
      templates/user/dashboard/feeds.tmpl
  2. +4
    -0
      web_src/less/_dashboard.less

+ 1
- 1
templates/user/dashboard/feeds.tmpl View File

@@ -6,7 +6,7 @@
<div class="ui grid">
<div class="ui fourteen wide column">
<div class="{{if or (eq .GetOpType 5) (eq .GetOpType 18)}}push news{{end}}">
<p>
<p class="text truncate">
{{if gt .ActUser.ID 0}}
<a href="{{AppSubUrl}}/{{.GetActUserName}}" title="{{.GetDisplayNameTitle}}">{{.GetDisplayName}}</a>
{{else}}


+ 4
- 0
web_src/less/_dashboard.less View File

@@ -82,6 +82,10 @@

line-height: 1.2;

p {
max-width: 100%;
}
> .ui.grid {
margin-left: auto;
margin-right: auto;


Loading…
Cancel
Save