Skip to content

Commit

Permalink
applied PR comments, fixed checkstyle issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ciegler committed Jun 12, 2024
1 parent 2932d46 commit e2d3bfd
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions src/main/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,19 +94,15 @@ const LogoPicture: React.FC = () => {
const path = (filename:string) => import.meta.env.BASE_URL + filename;
return (
<div>
<picture css={{
height: "100%",
display: "flex",
opacity: useColorScheme().scheme === "dark" ? 0.8 : 1.0,
paddingLeft: 8,
alignItems: "center",
"> *": {
height: "calc(100% - 0.5px)",
},
}}>
<source srcSet={path("opencast-editor.svg")}></source>
<img src={path("opencast-editor.svg")} alt="Opencast Editor Logo"/>
</picture>
<picture css={{

Check warning on line 97 in src/main/Header.tsx

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 4 spaces but found 6
height: "100%",
"> *": {
height: "calc(100% - 0.5px)",
},
}}>
<source srcSet={path("opencast-editor.svg")}></source>
<img src={path("opencast-editor.svg")} alt="Opencast Editor Logo"/>
</picture>
</div>
)

Check warning on line 107 in src/main/Header.tsx

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 4 spaces but found 6
}

Check warning on line 108 in src/main/Header.tsx

View workflow job for this annotation

GitHub Actions / test

Missing semicolon
Expand Down

0 comments on commit e2d3bfd

Please sign in to comment.