[WEB-2273] Chore: page alignments (#5505)
* chore: headers + common containers * fix: filters code splitting * fix: home header * fix: header changes * chore: page alignments fixed * fix: uncommented filters * fix: used enums * fix: cards + filters * fix: enum changes * fix: reverted package changes * fix: reverted package changes * fix: Card + tags seperated + naming fixed * fix: card + tags seperated + naming fixed * fix: mobile headers fixed partially * fix: build errors + minor css * fix: checkbox spacing * fix: review changes * fix: lint errors * fix: minor review changes
This commit is contained in:
parent
c78b2344b8
commit
87dbb9b888
181 changed files with 1323 additions and 1122 deletions
|
|
@ -170,7 +170,7 @@ export const WorkspaceDetails: FC = observer(() => {
|
|||
/>
|
||||
)}
|
||||
/>
|
||||
<div className={`w-full overflow-y-auto md:py-8 py-4 md:pr-9 pr-4 ${isAdmin ? "" : "opacity-60"}`}>
|
||||
<div className={`w-full overflow-y-auto md:pr-9 pr-4 ${isAdmin ? "" : "opacity-60"}`}>
|
||||
<div className="flex items-center gap-5 border-b border-custom-border-100 pb-7">
|
||||
<div className="flex flex-col gap-1">
|
||||
<button type="button" onClick={() => setIsImageUploadModalOpen(true)} disabled={!isAdmin}>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { Plus } from "lucide-react";
|
|||
// types
|
||||
import { TStaticViewTypes } from "@plane/types";
|
||||
// components
|
||||
import { CustomHeader, EHeaderVariant } from "@plane/ui";
|
||||
import { Header, EHeaderVariant } from "@plane/ui";
|
||||
import {
|
||||
CreateUpdateWorkspaceViewModal,
|
||||
DefaultWorkspaceViewQuickActions,
|
||||
|
|
@ -104,11 +104,11 @@ export const GlobalViewsHeader: React.FC = observer(() => {
|
|||
const isAuthorizedUser = !!currentWorkspaceRole && currentWorkspaceRole >= EUserWorkspaceRoles.MEMBER;
|
||||
|
||||
return (
|
||||
<CustomHeader variant={EHeaderVariant.SECONDARY} className="flex gap-4">
|
||||
<Header variant={EHeaderVariant.SECONDARY}>
|
||||
<CreateUpdateWorkspaceViewModal isOpen={createViewModal} onClose={() => setCreateViewModal(false)} />
|
||||
<div
|
||||
ref={containerRef}
|
||||
className="flex h-full w-full items-center overflow-x-auto horizontal-scrollbar scrollbar-sm"
|
||||
className="flex h-full w-full items-center overflow-y-hidden overflow-x-auto horizontal-scrollbar scrollbar-sm"
|
||||
>
|
||||
{DEFAULT_GLOBAL_VIEWS_LIST.map((tab, index) => (
|
||||
<DefaultViewTab key={`${tab.key}-${index}`} tab={tab} />
|
||||
|
|
@ -128,6 +128,6 @@ export const GlobalViewsHeader: React.FC = observer(() => {
|
|||
) : (
|
||||
<></>
|
||||
)}
|
||||
</CustomHeader>
|
||||
</Header>
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue