From 43f5ef05ce5cc40e7fb17bbbed6b34f985e4a29b Mon Sep 17 00:00:00 2001 From: LianaHus Date: Mon, 27 Apr 2020 16:02:22 +0200 Subject: [PATCH] style more readable --- src/app.js | 14 +++--- src/app/components/vertical-icons.js | 68 ++++++++-------------------- 2 files changed, 26 insertions(+), 56 deletions(-) diff --git a/src/app.js b/src/app.js index 5d21483e25..8c35b45084 100644 --- a/src/app.js +++ b/src/app.js @@ -123,12 +123,14 @@ class App { var self = this self._components = {} self._view = {} - self._view.splashScreen = yo`
- ${basicLogo()} -
- REMIX IDE -
-
` + self._view.splashScreen = yo` +
+ ${basicLogo()} +
+ REMIX IDE +
+
+ ` document.body.appendChild(self._view.splashScreen) // setup storage diff --git a/src/app/components/vertical-icons.js b/src/app/components/vertical-icons.js index 324a45d82e..ff64bb3f57 100644 --- a/src/app/components/vertical-icons.js +++ b/src/app/components/vertical-icons.js @@ -224,57 +224,25 @@ export class VerticalIcons extends Plugin { render () { let home = yo` -
- ${basicLogo()} - -
` - - this.iconKind['fileexplorer'] = yo` -
-
- ` - - this.iconKind['compiler'] = yo` -
-
- ` - - this.iconKind['udapp'] = yo` -
-
- ` - - this.iconKind['testing'] = yo` -
-
- ` - - this.iconKind['analysis'] = yo` -
-
- ` - - this.iconKind['debugging'] = yo` -
-
- ` - - this.iconKind['none'] = yo` -
-
- ` - - this.iconKind['settings'] = yo` -
-
+
+ ${basicLogo()} +
` + this.iconKind['fileexplorer'] = yo`
` + this.iconKind['compiler'] = yo`
` + this.iconKind['udapp'] = yo`
` + this.iconKind['testing'] = yo`
` + this.iconKind['analysis'] = yo`
` + this.iconKind['debugging'] = yo`
` + this.iconKind['none'] = yo`
` + this.iconKind['settings'] = yo`
` this.view = yo`