mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 10:17:16 +08:00
Fix the styling in the other onboarding screens
This commit is contained in:
@ -388,19 +388,19 @@ class OnBoardingSshKey extends StatelessWidget {
|
|||||||
|
|
||||||
return Column(
|
return Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Text(
|
child: Text(
|
||||||
'Deploy Public Key',
|
'Deploy Public Key',
|
||||||
textAlign: TextAlign.center,
|
style: Theme.of(context).textTheme.headline,
|
||||||
style: Theme.of(context).textTheme.display1,
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
SizedBox(height: 16.0),
|
||||||
Container(
|
Container(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
color: Theme.of(context).primaryColorLight,
|
color: Theme.of(context).buttonColor,
|
||||||
child: Text(
|
child: Text(
|
||||||
publicKey,
|
publicKey,
|
||||||
textAlign: TextAlign.left,
|
textAlign: TextAlign.left,
|
||||||
@ -408,13 +408,11 @@ class OnBoardingSshKey extends StatelessWidget {
|
|||||||
style: Theme.of(context).textTheme.body1,
|
style: Theme.of(context).textTheme.body1,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Padding(
|
SizedBox(height: 8.0),
|
||||||
padding: const EdgeInsets.all(8.0),
|
OnBoardingButton(
|
||||||
child: RaisedButton(
|
text: "Clone Repo",
|
||||||
child: Text("Start Clone"),
|
onPressed: this.doneFunction,
|
||||||
onPressed: this.doneFunction,
|
),
|
||||||
),
|
|
||||||
)
|
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -486,6 +484,7 @@ class OnBoardingGitCloneState extends State<OnBoardingGitClone> {
|
|||||||
style: Theme.of(context).textTheme.display1,
|
style: Theme.of(context).textTheme.display1,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
SizedBox(height: 8.0),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: CircularProgressIndicator(
|
child: CircularProgressIndicator(
|
||||||
|
Reference in New Issue
Block a user