Skip to content

Commit

Permalink
Remove unused click handler
Browse files Browse the repository at this point in the history
- Handle long lines unbroken by white space
- Cleanup

Signed-off-by: Christopher Ng <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
  • Loading branch information
Pytal authored and nextcloud-command committed Oct 21, 2021
1 parent 0e951eb commit 662a7ed
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 21 deletions.
6 changes: 3 additions & 3 deletions apps/settings/js/vue-settings-personal-info.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/settings/js/vue-settings-personal-info.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
:show-user-status="true"
:show-user-status-compact="false"
:disable-menu="true"
:disable-tooltip="true"
@click.native.prevent.stop="openStatusModal" />
:disable-tooltip="true" />
<div class="preview-card__header">
<span>{{ displayName }}</span>
</div>
Expand All @@ -57,11 +56,11 @@ export default {
},
props: {
organisation: {
displayName: {
type: String,
required: true,
},
displayName: {
organisation: {
type: String,
required: true,
},
Expand All @@ -75,11 +74,6 @@ export default {
},
},
data() {
return {
}
},
computed: {
disabled() {
return !this.profileEnabled
Expand All @@ -95,9 +89,6 @@ export default {
return null
},
},
methods: {
},
}
</script>

Expand Down Expand Up @@ -171,17 +162,14 @@ export default {
color: var(--color-text-maxcontrast);
font-size: 14px;
font-weight: normal;
margin-top: 4px;
margin: 4px 4px 0 0;
line-height: 1.3;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
word-break: break-all;
@supports (-webkit-line-clamp: 2) {
overflow: hidden;
white-space: initial;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
Expand Down

0 comments on commit 662a7ed

Please sign in to comment.