mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-17 14:32:34 +08:00
Smart annotation modal: inventory name not correct [SCI-9332]
This commit is contained in:
parent
a1df2b7b52
commit
3932b22cd4
2 changed files with 10 additions and 2 deletions
|
|
@ -36,11 +36,19 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.repository-object {
|
.repository-object {
|
||||||
max-width: 250px;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.truncate {
|
||||||
|
max-width: 150px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
margin-left: -10px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.atwho-view-ul {
|
.atwho-view-ul {
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
<% if repository.shared_with?(current_team) %>
|
<% if repository.shared_with?(current_team) %>
|
||||||
<i class="sn-icon sn-icon-user-menu-friends"></i>
|
<i class="sn-icon sn-icon-user-menu-friends"></i>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= repository.name %>
|
<div class="truncate"><%= repository.name %></div>
|
||||||
</button>
|
</button>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue