mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
Ellipsize user status in sharing entry
Signed-off-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
parent
80dbe54eaf
commit
cd795e6422
3 changed files with 28 additions and 30 deletions
|
|
@ -34,9 +34,9 @@
|
|||
:title="tooltip"
|
||||
:aria-label="tooltip"
|
||||
:href="share.shareWithLink"
|
||||
class="sharing-entry__desc">
|
||||
class="sharing-entry__summary__desc">
|
||||
<span>{{ title }}
|
||||
<span v-if="!isUnique" class="sharing-entry__desc-unique"> ({{
|
||||
<span v-if="!isUnique" class="sharing-entry__summary__desc-unique"> ({{
|
||||
share.shareWithDisplayNameUnique }})</span>
|
||||
<small v-if="hasStatus && share.status.message">({{ share.status.message }})</small>
|
||||
</span>
|
||||
|
|
@ -150,40 +150,38 @@ export default {
|
|||
<style lang="scss" scoped>
|
||||
.sharing-entry {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
height: 44px;
|
||||
|
||||
&__desc {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
padding-bottom: 0;
|
||||
line-height: 1.2em;
|
||||
|
||||
p {
|
||||
color: var(--color-text-maxcontrast);
|
||||
}
|
||||
|
||||
&-unique {
|
||||
color: var(--color-text-maxcontrast);
|
||||
}
|
||||
|
||||
small {
|
||||
color: var(--color-text-maxcontrast);
|
||||
}
|
||||
}
|
||||
|
||||
&__actions {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
&__summary {
|
||||
padding: 8px;
|
||||
padding-left: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
width: 75%;
|
||||
min-width: 75%;
|
||||
|
||||
&__desc {
|
||||
display: inline-block;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
padding-bottom: 0;
|
||||
line-height: 1.2em;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
p,
|
||||
small {
|
||||
color: var(--color-text-maxcontrast);
|
||||
}
|
||||
|
||||
&-unique {
|
||||
color: var(--color-text-maxcontrast);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
4
dist/files_sharing-files_sharing_tab.js
vendored
4
dist/files_sharing-files_sharing_tab.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files_sharing-files_sharing_tab.js.map
vendored
2
dist/files_sharing-files_sharing_tab.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue