diff --git a/web/components/analytics/scope-and-demand/scope-and-demand.tsx b/web/components/analytics/scope-and-demand/scope-and-demand.tsx index 0f9e2c712..6f26ad73f 100644 --- a/web/components/analytics/scope-and-demand/scope-and-demand.tsx +++ b/web/components/analytics/scope-and-demand/scope-and-demand.tsx @@ -47,7 +47,7 @@ export const ScopeAndDemand: React.FC = (props) => { <> {!defaultAnalyticsError ? ( defaultAnalytics ? ( -
+
diff --git a/web/components/command-palette/command-modal.tsx b/web/components/command-palette/command-modal.tsx index dbf349f9d..bd489f4c4 100644 --- a/web/components/command-palette/command-modal.tsx +++ b/web/components/command-palette/command-modal.tsx @@ -229,7 +229,7 @@ export const CommandModal: React.FC = observer(() => { />
- + {searchTerm !== "" && (
Search results for{" "} diff --git a/web/components/core/sidebar/sidebar-progress-stats.tsx b/web/components/core/sidebar/sidebar-progress-stats.tsx index 8fd021403..12c387f47 100644 --- a/web/components/core/sidebar/sidebar-progress-stats.tsx +++ b/web/components/core/sidebar/sidebar-progress-stats.tsx @@ -125,7 +125,10 @@ export const SidebarProgressStats: React.FC = ({ - + {distribution?.assignees.length > 0 ? ( distribution.assignees.map((assignee, index) => { if (assignee.assignee_id) @@ -182,7 +185,10 @@ export const SidebarProgressStats: React.FC = ({
)} - + {distribution?.labels.length > 0 ? ( distribution.labels.map((label, index) => ( = ({
)} - + {Object.keys(groupedIssues).map((group, index) => ( = ({ cycle }) => { {cycle && cycle.total_issues > 0 ? ( - + {cycle.distribution?.assignees?.map((assignee, index) => { if (assignee.assignee_id) return ( @@ -104,7 +107,11 @@ export const ActiveCycleProgressStats: React.FC = ({ cycle }) => { ); })} - + + {cycle.distribution?.labels?.map((label, index) => ( = observer((props) => { peekCycle ? "lg:grid-cols-1 xl:grid-cols-2 3xl:grid-cols-3" : "lg:grid-cols-2 xl:grid-cols-3 3xl:grid-cols-4" - } auto-rows-max transition-all `} + } auto-rows-max transition-all vertical-scrollbar scrollbar-lg`} > {cycleIds.map((cycleId) => ( diff --git a/web/components/cycles/cycles-list.tsx b/web/components/cycles/cycles-list.tsx index 838d88a30..173a7f4b7 100644 --- a/web/components/cycles/cycles-list.tsx +++ b/web/components/cycles/cycles-list.tsx @@ -37,7 +37,7 @@ export const CyclesList: FC = observer((props) => { {cycleIds.length > 0 ? (
-
+
{cycleIds.map((cycleId) => ( = (props) => { // DO NOT REMOVE THE ID id="gantt-container" className={cn( - "h-full w-full overflow-auto horizontal-scroll-enable flex border-t-[0.5px] border-custom-border-200", + "h-full w-full overflow-auto vertical-scrollbar horizontal-scrollbar scrollbar-lg flex border-t-[0.5px] border-custom-border-200", { "mb-8": bottomSpacing, } diff --git a/web/components/inbox/sidebar/inbox-list.tsx b/web/components/inbox/sidebar/inbox-list.tsx index d14e97bbb..bde6e66b2 100644 --- a/web/components/inbox/sidebar/inbox-list.tsx +++ b/web/components/inbox/sidebar/inbox-list.tsx @@ -18,7 +18,7 @@ export const InboxIssueList: FC = observer((props) => { if (!inboxIssueIds) return <>; return ( -
+
{inboxIssueIds.map((issueId) => ( ))} diff --git a/web/components/issues/issue-detail/inbox/root.tsx b/web/components/issues/issue-detail/inbox/root.tsx index 3f0f1f128..a57820106 100644 --- a/web/components/issues/issue-detail/inbox/root.tsx +++ b/web/components/issues/issue-detail/inbox/root.tsx @@ -138,7 +138,7 @@ export const InboxIssueDetailRoot: FC = (props) => { if (!issue) return <>; return (
-
+
= observer((props) =>
-
- - setQuery(e.target.value)} - placeholder="Search" - displayValue={(assigned: any) => assigned?.name} - /> +
+
+ + setQuery(e.target.value)} + placeholder="Search" + displayValue={(assigned: any) => assigned?.name} + /> +
-
+
{isLoading ? (

Loading...

) : filteredOptions.length > 0 ? ( diff --git a/web/components/issues/issue-layouts/calendar/calendar.tsx b/web/components/issues/issue-layouts/calendar/calendar.tsx index 733b3a097..88205f2ef 100644 --- a/web/components/issues/issue-layouts/calendar/calendar.tsx +++ b/web/components/issues/issue-layouts/calendar/calendar.tsx @@ -74,7 +74,7 @@ export const CalendarChart: React.FC = observer((props) => {
-
+
{layout === "month" && (
{allWeeksOfActiveMonth && diff --git a/web/components/issues/issue-layouts/calendar/week-header.tsx b/web/components/issues/issue-layouts/calendar/week-header.tsx index ca6b05568..bdcdaf633 100644 --- a/web/components/issues/issue-layouts/calendar/week-header.tsx +++ b/web/components/issues/issue-layouts/calendar/week-header.tsx @@ -13,7 +13,7 @@ export const CalendarWeekHeader: React.FC = observer((props) => { return (
diff --git a/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx b/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx index 8bf31a28f..d2f0d5582 100644 --- a/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx +++ b/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx @@ -249,7 +249,7 @@ export const BaseKanBanRoot: React.FC = observer((props: IBas )}
diff --git a/web/components/issues/issue-layouts/list/default.tsx b/web/components/issues/issue-layouts/list/default.tsx index 373897fda..e148d5131 100644 --- a/web/components/issues/issue-layouts/list/default.tsx +++ b/web/components/issues/issue-layouts/list/default.tsx @@ -108,7 +108,7 @@ const GroupByList: React.FC = (props) => { const isGroupByCreatedBy = group_by === "created_by"; return ( -
+
{groups && groups.length > 0 && groups.map( diff --git a/web/components/issues/issue-layouts/roots/all-issue-layout-root.tsx b/web/components/issues/issue-layouts/roots/all-issue-layout-root.tsx index 1a77ed5fa..3ef5533c6 100644 --- a/web/components/issues/issue-layouts/roots/all-issue-layout-root.tsx +++ b/web/components/issues/issue-layouts/roots/all-issue-layout-root.tsx @@ -183,7 +183,7 @@ export const AllIssueLayoutRoot: React.FC = observer(() => { return (
-
+
{issueIds.length === 0 ? ( = observer((props) => { return (
-
+
= observer((props) => { disabled={disabled} /> {/* content */} -
+
{isLoading && !issue ? (
@@ -140,7 +140,7 @@ export const IssueView: FC = observer((props) => {
) : ( -
+
{ {modulesView === "list" && (
-
+
{projectModuleIds.map((moduleId) => ( ))} @@ -71,7 +71,7 @@ export const ModulesListView: React.FC = observer(() => { peekModule ? "lg:grid-cols-1 xl:grid-cols-2 3xl:grid-cols-3" : "lg:grid-cols-2 xl:grid-cols-3 3xl:grid-cols-4" - } auto-rows-max transition-all `} + } auto-rows-max transition-all vertical-scrollbar scrollbar-lg`} > {projectModuleIds.map((moduleId) => ( diff --git a/web/components/notifications/notification-popover.tsx b/web/components/notifications/notification-popover.tsx index 8496d1a35..a8f25762e 100644 --- a/web/components/notifications/notification-popover.tsx +++ b/web/components/notifications/notification-popover.tsx @@ -125,7 +125,7 @@ export const NotificationPopover = observer(() => { {notifications ? ( notifications.length > 0 ? ( -
+
{notifications.map((notification) => ( { {joinedProjectIds.length > 0 ? ( <> -
+
{currentUser && } diff --git a/web/components/pages/pages-list/list-view.tsx b/web/components/pages/pages-list/list-view.tsx index 2a5a1c677..ebd1fa128 100644 --- a/web/components/pages/pages-list/list-view.tsx +++ b/web/components/pages/pages-list/list-view.tsx @@ -51,7 +51,7 @@ export const PagesListView: FC = (props) => { return ( <> {projectPageIds && workspaceSlug && projectId ? ( -
+
{projectPageIds.length > 0 ? (
    {projectPageIds.map((pageId: string) => ( diff --git a/web/components/project/card-list.tsx b/web/components/project/card-list.tsx index 7a5430554..624e30bde 100644 --- a/web/components/project/card-list.tsx +++ b/web/components/project/card-list.tsx @@ -32,7 +32,7 @@ export const ProjectCardList = observer(() => { return ( <> {workspaceProjectIds.length > 0 ? ( -
    +
    {searchedProjects.length == 0 ? (
    No matching projects
    ) : ( diff --git a/web/components/project/sidebar-list.tsx b/web/components/project/sidebar-list.tsx index d5ceb4736..249f044f4 100644 --- a/web/components/project/sidebar-list.tsx +++ b/web/components/project/sidebar-list.tsx @@ -109,7 +109,7 @@ export const ProjectSidebarList: FC = observer(() => { )}
    diff --git a/web/components/ui/loader/layouts/calendar-layout-loader.tsx b/web/components/ui/loader/layouts/calendar-layout-loader.tsx index db7bc4066..6bb75d3c6 100644 --- a/web/components/ui/loader/layouts/calendar-layout-loader.tsx +++ b/web/components/ui/loader/layouts/calendar-layout-loader.tsx @@ -28,7 +28,7 @@ export const CalendarLayoutLoader = () => (
    - + {[...Array(5)].map((_, index) => ( ))} diff --git a/web/components/views/views-list.tsx b/web/components/views/views-list.tsx index 902193dba..4977ed3e7 100644 --- a/web/components/views/views-list.tsx +++ b/web/components/views/views-list.tsx @@ -44,7 +44,7 @@ export const ProjectViewsList = observer(() => { <> {viewsList.length > 0 ? (
    -
    +
    { />
    - {filteredViewsList.length > 0 ? ( - filteredViewsList.map((view) => ) - ) : ( -

    No results found

    - )} +
    + {filteredViewsList.length > 0 ? ( + filteredViewsList.map((view) => ) + ) : ( +

    No results found

    + )} +
    ) : ( { <>
    {activeWorkspace?.logo && activeWorkspace.logo !== "" ? ( {
    {!sidebarCollapsed && (
    @@ -153,8 +156,8 @@ export const WorkspaceSidebarDropdown = observer(() => { >
    -
    -
    +
    +
    {currentUser?.email}
    {workspacesList ? ( @@ -176,8 +179,9 @@ export const WorkspaceSidebarDropdown = observer(() => { >
    {workspace?.logo && workspace.logo !== "" ? ( { )}
    {workspace.name}
    @@ -215,10 +220,7 @@ export const WorkspaceSidebarDropdown = observer(() => { )}
    - + { <> setCreateViewModal(false)} />
    -
    +
    {DEFAULT_GLOBAL_VIEWS_LIST.map((tab) => ( { const isDarkMode = currentUser?.theme.theme === "dark"; return ( -
    +
    {
    {cycleId && !isSidebarCollapsed && (
    {
    {moduleId && !isSidebarCollapsed && (
    { projectId={projectId.toString()} /> )} -
    -
    +
    +

    Pages

    { {windowWidth < 768 ? ( ) : ( - +
    {PAGE_TABS_LIST.map((tab) => ( { )} - + - + - + - + - + - + diff --git a/web/pages/[workspaceSlug]/workspace-views/index.tsx b/web/pages/[workspaceSlug]/workspace-views/index.tsx index 656120a3e..61fdcf058 100644 --- a/web/pages/[workspaceSlug]/workspace-views/index.tsx +++ b/web/pages/[workspaceSlug]/workspace-views/index.tsx @@ -27,23 +27,25 @@ const WorkspaceViewsPage: NextPageWithLayout = observer(() => { return ( <> -
    -
    -
    - - setQuery(e.target.value)} - placeholder="Search" - mode="true-transparent" - /> -
    +
    +
    + + setQuery(e.target.value)} + placeholder="Search" + mode="true-transparent" + /> +
    +
    + {DEFAULT_GLOBAL_VIEWS_LIST.filter((v) => v.label.toLowerCase().includes(query.toLowerCase())).map( + (option) => ( + + ) + )} +
    - {DEFAULT_GLOBAL_VIEWS_LIST.filter((v) => v.label.toLowerCase().includes(query.toLowerCase())).map((option) => ( - - ))} -
    ); diff --git a/web/styles/globals.css b/web/styles/globals.css index 55216bafc..1f967f1c4 100644 --- a/web/styles/globals.css +++ b/web/styles/globals.css @@ -294,41 +294,6 @@ body { display: none; } -.horizontal-scroll-enable { - overflow-x: scroll; -} - -.horizontal-scroll-enable::-webkit-scrollbar { - display: block; - height: 7px; - width: 0; -} - -.horizontal-scroll-enable::-webkit-scrollbar-track { - height: 7px; - background-color: rgba(var(--color-background-100)); -} - -.horizontal-scroll-enable::-webkit-scrollbar-thumb { - border-radius: 5px; - background-color: rgba(var(--color-scrollbar)); -} - -.vertical-scroll-enable::-webkit-scrollbar { - display: block; - width: 5px; -} - -.vertical-scroll-enable::-webkit-scrollbar-track { - width: 5px; -} - -.vertical-scroll-enable::-webkit-scrollbar-thumb { - border-radius: 5px; - background-color: rgba(var(--color-background-90)); -} -/* end scrollbar style */ - .tags-input-container { border: 2px solid #000; padding: 0.5em; @@ -538,3 +503,86 @@ div.web-view-spinner div.bar12 { animation-delay: -0.0833s; -webkit-animation-delay: -0.0833s; } + +@-moz-document url-prefix() { + * { + scrollbar-width: none; + } + .vertical-scrollbar, + .horizontal-scrollbar { + scrollbar-width: initial; + scrollbar-color: rgba(96, 100, 108, 0.1) transparent; + } + .vertical-scrollbar:hover, + .horizontal-scrollbar:hover { + scrollbar-color: rgba(96, 100, 108, 0.25) transparent; + } + .vertical-scrollbar:active, + .horizontal-scrollbar:active { + scrollbar-color: rgba(96, 100, 108, 0.7) transparent; + } +} + +.vertical-scrollbar { + overflow-y: scroll; +} +.horizontal-scrollbar { + overflow-x: scroll; +} +.vertical-scrollbar::-webkit-scrollbar, +.horizontal-scrollbar::-webkit-scrollbar { + display: block; +} +.vertical-scrollbar::-webkit-scrollbar-track, +.horizontal-scrollbar::-webkit-scrollbar-track { + background-color: transparent; + border-radius: 9999px; +} +.vertical-scrollbar::-webkit-scrollbar-thumb, +.horizontal-scrollbar::-webkit-scrollbar-thumb { + background-clip: padding-box; + background-color: rgba(96, 100, 108, 0.1); + border-radius: 9999px; +} +.vertical-scrollbar:hover::-webkit-scrollbar-thumb, +.horizontal-scrollbar:hover::-webkit-scrollbar-thumb { + background-color: rgba(96, 100, 108, 0.25); +} +.vertical-scrollbar::-webkit-scrollbar-thumb:hover, +.horizontal-scrollbar::-webkit-scrollbar-thumb:hover { + background-color: rgba(96, 100, 108, 0.5); +} +.vertical-scrollbar::-webkit-scrollbar-thumb:active, +.horizontal-scrollbar::-webkit-scrollbar-thumb:active { + background-color: rgba(96, 100, 108, 0.7); +} +.vertical-scrollbar::-webkit-scrollbar-corner, +.horizontal-scrollbar::-webkit-scrollbar-corner { + background-color: transparent; +} + +/* scrollbar sm size */ +.scrollbar-sm::-webkit-scrollbar { + height: 12px; + width: 12px; +} +.scrollbar-sm::-webkit-scrollbar-thumb { + border: 3px solid rgba(0, 0, 0, 0); +} +/* scrollbar md size */ +.scrollbar-md::-webkit-scrollbar { + height: 14px; + width: 14px; +} +.scrollbar-md::-webkit-scrollbar-thumb { + border: 3px solid rgba(0, 0, 0, 0); +} +/* scrollbar lg size */ + +.scrollbar-lg::-webkit-scrollbar { + height: 16px; + width: 16px; +} +.scrollbar-lg::-webkit-scrollbar-thumb { + border: 4px solid rgba(0, 0, 0, 0); +}