Browse Source

[minor] Fix ellipsis, alignment in Subject column

version-14
Faris Ansari 8 years ago
parent
commit
05629b27b6
4 changed files with 3 additions and 4 deletions
  1. +1
    -0
      frappe/public/css/list.css
  2. +1
    -1
      frappe/public/js/frappe/list/list_item_subject.html
  3. +0
    -3
      frappe/public/js/frappe/list/list_renderer.js
  4. +1
    -0
      frappe/public/less/list.less

+ 1
- 0
frappe/public/css/list.css View File

@@ -420,6 +420,7 @@
.list-item input[type=checkbox] {
margin: 0;
margin-right: 5px;
flex: 0 0 12px;
}
.list-item .liked-by,
.list-item .liked-by-filter-button {


+ 1
- 1
frappe/public/js/frappe/list/list_item_subject.html View File

@@ -11,7 +11,7 @@
</i>
<span class="likes-count">{{ (_liked_by.length > 99 ? "99+" : _liked_by.length) || "" }}</span>
</span>
<a class="grey list-id {{ css_seen }}"
<a class="grey list-id {{ css_seen }} ellipsis"
data-name="{{ _name }}"
href="#Form/{{ _doctype_encoded }}/{{ _name_encoded }}"
title="{{ _full_title }}">{{ strip_html(_title) }}</a>


+ 0
- 3
frappe/public/js/frappe/list/list_renderer.js View File

@@ -447,9 +447,6 @@ frappe.views.ListRenderer = Class.extend({
data._title = strip_html(data[title_field] || data.name);
data._full_title = data._title;

if (data._title.length > 35) {
data._title = data._title.slice(0, 35) + '...';
}

data._workflow = null;
if (this.workflow_state_fieldname) {


+ 1
- 0
frappe/public/less/list.less View File

@@ -514,6 +514,7 @@
input[type=checkbox] {
margin: 0;
margin-right: 5px;
flex: 0 0 12px;
}

.liked-by, .liked-by-filter-button {


Loading…
Cancel
Save