From a069539d4bcff4cbe99d1bff9e413129d7600b21 Mon Sep 17 00:00:00 2001 From: kytwb Date: Mon, 13 Dec 2021 20:40:58 +0100 Subject: Style modals as per QuickSwitch modal --- src/features/nightlyBuilds/Component.js | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/features/nightlyBuilds') diff --git a/src/features/nightlyBuilds/Component.js b/src/features/nightlyBuilds/Component.js index 0966480d0..fc7663211 100644 --- a/src/features/nightlyBuilds/Component.js +++ b/src/features/nightlyBuilds/Component.js @@ -29,14 +29,21 @@ const messages = defineMessages({ }, }); -const styles = { +const styles = theme => ({ + modal: { + width: '80%', + maxWidth: 600, + background: theme.styleTypes.primary.contrast, + color: theme.styleTypes.primary.accent, + paddingTop: 30, + }, info: { - paddingTop: 20, paddingBottom: 20, }, headline: { fontSize: 20, marginBottom: 20, + marginTop: -27, }, buttonContainer: { display: 'flex', @@ -51,7 +58,7 @@ const styles = { background: '#c45a5a !important', color: '#ffffff !important', }, -}; +}); class NightlyBuildsModal extends Component { close() { @@ -88,6 +95,7 @@ class NightlyBuildsModal extends Component { return ( -- cgit v1.2.3-70-g09d2