Browse Source

fix: replace scroll with auto for horizontal scrollbars

pull/7889/head
mertmit 9 months ago
parent
commit
d96a42adae
  1. 6
      packages/nc-gui/assets/style.scss
  2. 2
      packages/nc-gui/components/project/ShareBaseDlg.vue

6
packages/nc-gui/assets/style.scss

@ -113,7 +113,7 @@ main {
}
.nc-scrollbar-x-md {
overflow-x: scroll;
overflow-x: auto !important;
scrollbar-width: thin !important;
@ -174,7 +174,7 @@ main {
}
.nc-scrollbar-x-md-dark {
overflow-x: scroll;
overflow-x: auto !important;
scrollbar-width: thin !important;
@ -204,7 +204,7 @@ main {
}
.nc-scrollbar-x-lg {
overflow-x: scroll;
overflow-x: auto !important;
&::-webkit-scrollbar {
width: 8px;

2
packages/nc-gui/components/project/ShareBaseDlg.vue

@ -235,7 +235,7 @@ const onRoleChange = (role: keyof typeof RoleLabels) => (inviteData.roles = role
<div class="flex justify-between gap-3 w-full">
<div
ref="divRef"
class="flex items-center border-1 gap-1 w-full overflow-x-scroll nc-scrollbar-x-md items-center h-10 rounded-lg !min-w-96"
class="flex items-center border-1 gap-1 w-full overflow-x-auto nc-scrollbar-x-md items-center h-10 rounded-lg !min-w-96"
tabindex="0"
:class="{
'border-primary/100': isDivFocused,

Loading…
Cancel
Save