Add createDiv() method to Graph class and update graph-classes.js, graphs.html, and graph-styles.css
This commit is contained in:
@@ -46,11 +46,12 @@ body {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
border: 2px solid #ccc;
|
||||
align-self: center;
|
||||
border: 3px solid #ccc;
|
||||
border-radius: 10px;
|
||||
margin: 20px;
|
||||
padding: 20px;
|
||||
width: 90;
|
||||
width: 95%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -108,11 +109,20 @@ body {
|
||||
}
|
||||
|
||||
.js-plotly-plot {
|
||||
align-self: center;
|
||||
width: 95%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 20px;
|
||||
border: 2px solid #000;
|
||||
margin: 10px;
|
||||
align-self: center center;
|
||||
}
|
||||
/* Additional styling as needed */
|
||||
|
||||
.graphBody {
|
||||
display: flex;
|
||||
padding: 10px;
|
||||
border: 3px solid #ccc;
|
||||
border-radius: 10px;
|
||||
justify-content: center;
|
||||
width: 95%;
|
||||
height: 100%;
|
||||
align-content: center;
|
||||
align-self: center;
|
||||
}
|
||||
|
Reference in New Issue
Block a user