mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 15:27:17 +00:00
Fix layout when flashing
Change-type: patch Signed-off-by: Stevche Radevski <stevche@balena.io>
This commit is contained in:
parent
84e45caa6c
commit
992b8a6fb6
@ -104,13 +104,12 @@ const MainPage = ({ DriveSelectorService, $state }: any) => {
|
||||
</div>
|
||||
|
||||
{isFlashing && (
|
||||
<div>
|
||||
<FeaturedProject
|
||||
className={
|
||||
isFlashing && isWebviewShowing ? 'fp-visible' : undefined
|
||||
}
|
||||
onWebviewShow={setWebviewShowing}
|
||||
/>
|
||||
<div
|
||||
className={`featured-project ${
|
||||
isFlashing && isWebviewShowing ? 'fp-visible' : ''
|
||||
}`}
|
||||
>
|
||||
<FeaturedProject onWebviewShow={setWebviewShowing} />
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
@ -230,7 +230,7 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
featured-project {
|
||||
.featured-project {
|
||||
webview {
|
||||
flex: 0 1;
|
||||
height: 0;
|
||||
|
@ -9882,12 +9882,12 @@ body {
|
||||
.section-header * {
|
||||
z-index: 1; }
|
||||
|
||||
featured-project webview {
|
||||
.featured-project webview {
|
||||
flex: 0 1;
|
||||
height: 0;
|
||||
width: 0; }
|
||||
|
||||
featured-project.fp-visible webview {
|
||||
.featured-project.fp-visible webview {
|
||||
width: 480px;
|
||||
height: 360px;
|
||||
position: absolute;
|
||||
|
Loading…
x
Reference in New Issue
Block a user