mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 15:27:17 +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'}
|
||||
primaryButtonProps={{ primary: false, warning: true }}
|
||||
>
|
||||
{_.map(warningMessages, message => (
|
||||
<Txt whitespace="pre-line" mt={2}>
|
||||
{_.map(warningMessages, (message, key) => (
|
||||
<Txt key={key} whitespace="pre-line" mt={2}>
|
||||
{message}
|
||||
</Txt>
|
||||
))}
|
||||
|
@ -101,6 +101,7 @@ const MainPage = ({ $state }: any) => {
|
||||
return (
|
||||
<ThemedProvider style={{ height: '100%' }}>
|
||||
<header
|
||||
id="app-header"
|
||||
style={{
|
||||
width: '100%',
|
||||
padding: '13px 14px',
|
||||
|
@ -21,7 +21,7 @@ body {
|
||||
|
||||
|
||||
/* Allow window to be dragged from anywhere */
|
||||
body > header {
|
||||
#app-header {
|
||||
-webkit-app-region: drag;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user