Skip to content

Commit

Permalink
adjust style
Browse files Browse the repository at this point in the history
  • Loading branch information
faheelsattar committed Nov 8, 2024
1 parent 86a76a1 commit 0724454
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/src/assets/icons/upd.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion frontend/src/modules/Validator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ const Validator = () => {

return (
<Box sx={{ flexGrow: 1, marginTop: 4 }}>

<OverviewCard title="Validator Overview" iconSrc={overviewIcon} timeAgo={getTimeDiff(startTime, timeAgo)}>
{/* Error handling and InfoBox display */}
{errorShutterized ? (
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/styles/overviewCard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const CardHeader = styled.div<{ centerTitle?: boolean }>`
display: flex;
flex-direction: column;
align-items: ${({ centerTitle }) => (centerTitle ? 'center' : 'flex-start')};
gap: 16px;
gap: 8px;
margin-bottom: 16px;
`;

Expand Down
3 changes: 2 additions & 1 deletion frontend/src/styles/refreshCard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import styled from 'styled-components';
export const RefreshContainerHolder = styled.div.attrs({
className: 'refresh-container-holder',
})`
padding: 2px 12px;
padding: 2px 8px;
background-color: #E4E9F0;
border-radius: 100px;
display:flex;
align-items: center;
height: fit-content;
font-size: 10px;
`;

0 comments on commit 0724454

Please sign in to comment.