mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 03:06:38 +00:00
Make header draggable again
Change-type: patch Changelog-entry: Make header draggable again Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzothunder.ambrosi@gmail.com>
This commit is contained in:
parent
444b0beaca
commit
de65c02222
@ -293,8 +293,8 @@ export const Flash = ({
|
|||||||
action={'Continue'}
|
action={'Continue'}
|
||||||
primaryButtonProps={{ primary: false, warning: true }}
|
primaryButtonProps={{ primary: false, warning: true }}
|
||||||
>
|
>
|
||||||
{_.map(warningMessages, message => (
|
{_.map(warningMessages, (message, key) => (
|
||||||
<Txt whitespace="pre-line" mt={2}>
|
<Txt key={key} whitespace="pre-line" mt={2}>
|
||||||
{message}
|
{message}
|
||||||
</Txt>
|
</Txt>
|
||||||
))}
|
))}
|
||||||
|
@ -101,6 +101,7 @@ const MainPage = ({ $state }: any) => {
|
|||||||
return (
|
return (
|
||||||
<ThemedProvider style={{ height: '100%' }}>
|
<ThemedProvider style={{ height: '100%' }}>
|
||||||
<header
|
<header
|
||||||
|
id="app-header"
|
||||||
style={{
|
style={{
|
||||||
width: '100%',
|
width: '100%',
|
||||||
padding: '13px 14px',
|
padding: '13px 14px',
|
||||||
|
@ -21,7 +21,7 @@ body {
|
|||||||
|
|
||||||
|
|
||||||
/* Allow window to be dragged from anywhere */
|
/* Allow window to be dragged from anywhere */
|
||||||
body > header {
|
#app-header {
|
||||||
-webkit-app-region: drag;
|
-webkit-app-region: drag;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user