Skip to content

Commit

Permalink
Fixed CSS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
praveen5959 committed Dec 17, 2024
1 parent eaa1e19 commit c158458
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
14 changes: 11 additions & 3 deletions src/pages/Stream/Views/Explore/StaticLogTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,13 @@ const makeHeaderOpts = (
}
const isFirstColumn = index === 0;
return (
<div className={tableStyles.customCellContainer} style={{ overflow: 'hidden', textOverflow: 'ellipsis' }}>
<div
className={tableStyles.customCellContainer}
style={{
marginLeft: isFirstSelectedRow && isFirstColumn ? '4px' : '',
overflow: 'hidden',
textOverflow: 'ellipsis',
}}>
<div
className={tableStyles.actionIconContainer}
onClick={(event) => {
Expand All @@ -107,7 +113,9 @@ const makeHeaderOpts = (
style={{
display: isFirstSelectedRow && isFirstColumn ? 'flex' : '',
}}>
{isSecureHTTPContext ? sanitizedValue && <IconDotsVertical stroke={1.2} size={'0.8rem'} /> : null}
{isSecureHTTPContext
? sanitizedValue && <IconDotsVertical stroke={1.2} size={'0.8rem'} color="#545beb" />
: null}
</div>
{sanitizedValue}
<div className={tableStyles.copyIconContainer}>
Expand Down Expand Up @@ -260,7 +268,7 @@ const Table = (props: { primaryHeaderHeight: number }) => {
const [start, end] = rowNumber.split(':').map(Number);
return row.index >= start && row.index <= end;
})()
? '#DDE3FE'
? '#E8EDFE'
: '',
},
};
Expand Down
4 changes: 3 additions & 1 deletion src/pages/Stream/styles/Logs.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,12 @@
.actionIconContainer {
position: absolute;
top: 25%;
left: 0;
left: 3px;
cursor: pointer;
padding: 1px 0px;
border-radius: 4px;
background-color: white;
border: 0.8px solid #545beb;
display: none;
}
}
Expand Down

0 comments on commit c158458

Please sign in to comment.