Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a scrollbar visible for sharing tab #41574

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 11 additions & 13 deletions apps/files_sharing/src/views/SharingDetailsTab.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<div class="sharingTabDetailsView">
<div class="sharingTabDetailsView__header">
<div class="sharingTabDetailsView__wrapper">
<div class="sharingTabDetailsView__header">
<span>
<NcAvatar v-if="isUserShare"
class="sharing-entry__avatar"
Expand All @@ -14,8 +15,7 @@
<span>
<h1>{{ title }}</h1>
</span>
</div>
<div class="sharingTabDetailsView__wrapper">
</div>
<div class="sharingTabDetailsView__quick-permissions">
<div>
<NcCheckboxRadioSwitch :button-variant="true"
Expand Down Expand Up @@ -933,9 +933,15 @@ export default {
flex-direction: column;
width: 100%;
margin: 0 auto;
position: relative;
max-height: 100%;
height: 100%;
overflow: hidden;

&__wrapper {
flex: 1 0;
overflow-y: auto;
padding: 4px;
padding-right: 12px;
}

&__header {
display: flex;
Expand All @@ -955,13 +961,6 @@ export default {
}
}

&__wrapper {
overflow: scroll;
flex-shrink: 1;
padding: 4px;
padding-right: 12px;
}

&__quick-permissions {
display: flex;
justify-content: center;
Expand Down Expand Up @@ -1053,7 +1052,6 @@ export default {
&__footer {
width: 100%;
display: flex;
position: sticky;
bottom: 0;
flex-direction: column;
justify-content: space-between;
Expand Down