Styling of job list card for loads of data 49/1349/1
authorKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Wed, 22 Mar 2017 18:16:13 +0000 (14:16 -0400)
committerKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Wed, 22 Mar 2017 18:16:13 +0000 (14:16 -0400)
Signed-off-by: KIRAN KASHALKAR <kiran.kashalkar@riftio.com>
skyquake/plugins/launchpad/src/launchpad_card/jobListCard.jsx
skyquake/plugins/launchpad/src/launchpad_card/jobListCard.scss

index 0f345ea..5cdcb85 100644 (file)
@@ -68,11 +68,12 @@ class JobListCard extends React.Component {
                 <section className='jobListCard--details'>
                     <h4 onClick={this.openModal.bind(this)}>Job Details</h4>
                     <Modal
+                        className='jobListCard--details--modal'
                         visible={this.state.modalVisible}
                         width="600"
                         height="400"
                         effect="fadeInUp">
-                        <div>
+                        <div className='jobListCard--details--tree'>
                             <TreeView nodeLabel={<span>Job Details</span>} key={'job-details'} defaultCollapsed={false}>
                                 <p>{jobDetailsText}</p>
                             </TreeView>
index 8551abb..0ea403f 100644 (file)
     }
     &--details {
         font-size:0.75rem;
+
+        >div {
+            display: flex;
+            >div {
+                display: flex;
+                padding: 1em 0 0 1em;
+            }
+        }
+
+        &--tree {
+                display: flex;
+                flex-direction: column;
+
+                .tree-view {
+                    min-height: 300px;
+                    min-width: 580px;
+                    overflow-y: scroll;
+                }
+            }
+
         h4 {
             padding-bottom:0.5rem;
             text-decoration:underline;