Browse Source

Clean up CSS for landing.

Brian E. Granger 8 years ago
parent
commit
976ad6bb8d

+ 0 - 10
packages/landing-extension/src/widget.ts

@@ -46,11 +46,6 @@ const LANDING_LOGO_CLASS = 'jp-Landing-logo';
  */
 const LANDING_SUBTITLE_CLASS = 'jp-Landing-subtitle';
 
-/**
- * The class name added for the tour icon from default-theme.
- */
-const TOUR_ICON_CLASS = 'jp-Landing-tour';
-
 /**
  * The class name added to the header text.
  */
@@ -191,10 +186,6 @@ class LandingWidget extends VDomRenderer<LandingModel> {
       this.model.previewMessage
     );
 
-    let tour = h.span({
-      className: TOUR_ICON_CLASS,
-      dataset: this._linker.populateVNodeDataset('about-jupyterlab:open', {})
-    });
     let bodyheader = h.span({
       className: LANDING_BODY_HEADER_CLASS
     }, this.model.headerText);
@@ -202,7 +193,6 @@ class LandingWidget extends VDomRenderer<LandingModel> {
     let header = h.div({ className: LANDING_HEADER_CLASS},
       logo,
       subtitle,
-      tour
     );
 
     let body = h.div({ className: LANDING_BODY_CLASS },

+ 2 - 11
packages/landing-extension/style/index.css

@@ -43,6 +43,8 @@
   align-items: center;
   justify-content: center;
   flex-direction: column;
+  padding-top: 28px;
+  padding-bottom: 28px;
 }
 
 .jp-Landing-body-container {
@@ -79,7 +81,6 @@
   background-size: 232px 50px;
   background-repeat: no-repeat;
   background-position: center;
-  margin-top: 20px;
 }
 
 .jp-Landing-subtitle {
@@ -148,13 +149,3 @@
   padding-bottom: 16px;
 }
 
-.jp-Landing-tour {
-    height: 14px;
-    width: 84px;
-    cursor: pointer;
-    padding-bottom: 14px;
-    background-position: top right;
-    background-repeat: no-repeat;
-    margin-top: 16px;
-    padding-bottom: 16px;
-}