Removed curves settings footer and moved all buttons at end of table
This commit is contained in:
@ -43,19 +43,21 @@
|
||||
|
||||
#curves-settings-popup-content{
|
||||
padding: 10px;
|
||||
height: calc(100% - 80px);
|
||||
height: calc(100% - 40px);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.button-center-wrapper{
|
||||
.buttons-wrapper{
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
height: 30px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.apply-button, .cancel-button{
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.scrollable-content{
|
||||
@ -109,20 +111,4 @@
|
||||
td img{
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
#curves-settings-popup-footer{
|
||||
height: 40px;
|
||||
display: flex;
|
||||
border-top: 2px solid black;
|
||||
box-sizing: border-box;
|
||||
justify-content: flex-end;
|
||||
display: flex;
|
||||
|
||||
}
|
||||
|
||||
#curves-settings-popup-footer button{
|
||||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
@ -236,17 +236,13 @@ class CurvesSettingsPopup extends HTMLElement{
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="button-center-wrapper">
|
||||
<button class="add-row-button">Add</button>
|
||||
<div class="buttons-wrapper">
|
||||
<button class="add-row-button">Add line</button>
|
||||
<button class="apply-button">Apply</button>
|
||||
<button class="cancel-button">Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="curves-settings-popup-footer">
|
||||
<button class="cancel-button">Cancel</button>
|
||||
<button class="apply-button">Apply</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
Reference in New Issue
Block a user