Fixing up UI for long names in uders list
This commit is contained in:
parent
6064671a5b
commit
a86c84bb08
@ -55,6 +55,7 @@
|
||||
height:40px;
|
||||
width: 80%;
|
||||
margin-top:6px;
|
||||
padding:5px;
|
||||
}
|
||||
.optionsBar{
|
||||
padding-top:15px;
|
||||
|
@ -11,8 +11,14 @@
|
||||
height:20px;
|
||||
overflow:hidden;
|
||||
width:90px;
|
||||
word-wrap:break-word;
|
||||
word-break:break-all;
|
||||
padding:0px;
|
||||
}
|
||||
.user-entry tr:nth-child(even) {background-color: rgb(245,245,245);}
|
||||
.user-entry tr:hover {font-weight: bold;}
|
||||
.userListSettingIcon {}
|
||||
|
||||
.userNameContainer{
|
||||
border-right: 1px solid #ccc;
|
||||
padding-right:0px;
|
||||
}
|
@ -18,21 +18,22 @@
|
||||
</template>
|
||||
|
||||
<template name="displayStandardUserControls">
|
||||
<td>{{#if user.presenter}}<span class="userListSettingIcon glyphicon glyphicon-picture"></span>{{/if}}</td>
|
||||
<td>{{#if user.presenter}}<span class="userListSettingIcon glyphicon glyphicon-picture"></span>{{/if}}</td>
|
||||
</template>
|
||||
|
||||
<template name="usernameEntry"> <!-- A template now because more information be added/styled -->
|
||||
<td><p class="userNameEntry">
|
||||
{{#if isCurrentUser userId}}
|
||||
<strong>{{user.name}} (you)</strong>
|
||||
{{else}}
|
||||
{{user.name}}
|
||||
{{/if}}
|
||||
</p></td>
|
||||
<td class="userNameContainer">
|
||||
<p class="userNameEntry">
|
||||
{{#if isCurrentUser userId}}
|
||||
<strong>{{user.name}} (you)</strong>
|
||||
{{else}}
|
||||
{{user.name}}
|
||||
{{/if}}</p>
|
||||
</td>
|
||||
</template>
|
||||
|
||||
<template name="userItem">
|
||||
{{> usernameEntry}}
|
||||
{{> displayOwnControls}}
|
||||
{{> displayStandardUserControls}}
|
||||
{{> usernameEntry}}
|
||||
{{> displayOwnControls}}
|
||||
{{> displayStandardUserControls}}
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user