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

fixed:#2510 Refactor CSS files in src/screens/ManageTag #2769

Merged
Show file tree
Hide file tree
Changes from 1 commit
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
127 changes: 0 additions & 127 deletions src/screens/ManageTag/ManageTag.module.css

This file was deleted.

8 changes: 4 additions & 4 deletions src/screens/ManageTag/ManageTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ function ManageTag(): JSX.Element {
minWidth: 100,
align: 'center',
headerAlign: 'center',
headerClassName: `${styles.tableHeader}`,
headerClassName: `${styles.tableHeaders}`,
sortable: false,
renderCell: (params: GridCellParams) => {
return <div>{params.row.id}</div>;
Expand All @@ -302,7 +302,7 @@ function ManageTag(): JSX.Element {
flex: 2,
minWidth: 100,
sortable: false,
headerClassName: `${styles.tableHeader}`,
headerClassName: `${styles.tableHeaders}`,
renderCell: (params: GridCellParams) => {
return (
<div data-testid="memberName">
Expand All @@ -319,7 +319,7 @@ function ManageTag(): JSX.Element {
minWidth: 100,
headerAlign: 'center',
sortable: false,
headerClassName: `${styles.tableHeader}`,
headerClassName: `${styles.tableHeaders}`,
renderCell: (params: GridCellParams) => {
return (
<div>
Expand Down Expand Up @@ -491,7 +491,7 @@ function ManageTag(): JSX.Element {
),
}}
sx={dataGridStyle}
getRowClassName={() => `${styles.rowBackground}`}
getRowClassName={() => `${styles.rowBackgrounds}`}
autoHeight
rowHeight={65}
rows={userTagAssignedMembers?.map(
Expand Down
42 changes: 37 additions & 5 deletions src/style/app.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@

.btnsContainer .btnsBlock {
display: flex;
width: max-content;
}

.btnsContainer .btnsBlock button {
Expand All @@ -90,11 +91,6 @@
align-items: center;
}

.btnsContainer .input {
flex: 1;
position: relative;
}

.btnsContainer .input button {
width: 52px;
}
Expand Down Expand Up @@ -613,3 +609,39 @@ hr {
transform: rotate(360deg);
}
}

.btnsContainer .input {
flex: 1;
position: relative;
max-width: 60%;
justify-content: space-between;
}

.btnsContainer input {
outline: 1px solid var(--bs-gray-400);
}

.tableHeaders {
background-color: var(--bs-primary);
color: var(--bs-white);
font-size: 1rem;
}

.rowBackgrounds {
background-color: var(--bs-white);
max-height: 120px;
}
gurramkarthiknetha marked this conversation as resolved.
Show resolved Hide resolved

.tagsBreadCrumbs:hover {
color: var(--bs-blue);
font-weight: 600;
text-decoration: underline;
}

.manageTagScrollableDiv {
scrollbar-width: thin;
scrollbar-color: var(--bs-gray-400) var(--bs-white);

max-height: calc(100vh - 18rem);
overflow: auto;
}
Loading