Skip to content

Commit

Permalink
Set starting width of 'remove' column in ParameterTable. One spelling…
Browse files Browse the repository at this point in the history
… fix.
  • Loading branch information
james-strauss-uwa committed Aug 7, 2024
1 parent e57b216 commit c21df62
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 5 additions & 1 deletion static/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ td:first-child input {
padding-top: 3px;
}

#rightWindowContainer .inspectorDescriptionDragHnadle{
#rightWindowContainer .inspectorDescriptionDragHandle{
position: absolute;
bottom: -9px;
right: -8px;
Expand Down Expand Up @@ -666,6 +666,10 @@ td:first-child input {
width: 160px;
}

#parameter_table_remove{
width: 80px;
}

#parameterTableModal .modal-header{
border: none;
justify-content: unset;
Expand Down
5 changes: 4 additions & 1 deletion templates/modals/parameter_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ <h5 class="modal-title" id="parameterTableModalTitle">Fields Table: <span data-b
Comment
<div data-bind="css: {resizer: ParameterTable.setUpColumnResizer('parameter_table_comment') === true}"></div>
</th>
<th>Remove</th>
<th id="parameter_table_remove" data-bind="eagleTooltip:'Remove this field from the graph configuration'" data-bs-placement="top">
Remove
<div data-bind="css: {resizer: ParameterTable.setUpColumnResizer('parameter_table_remove') === true}"></div>
</th>
<!-- /ko -->
<!-- ko if: ParameterTable.inMode(ParameterTable.Mode.NodeFields) -->
<!-- ko if: ParameterTable.getActiveColumnVisibility().type() -->
Expand Down
2 changes: 1 addition & 1 deletion templates/node_inspector.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h5 class="card-header" id="nodeInspectorHeading">
<!-- /ko -->
<!-- ko if: $data.isLocked() || $data.getDescriptionReadonly() -->
<span>Description</span>
<i class="material-icons inspectorDescriptionDragHnadle">drag_handle</i>
<i class="material-icons inspectorDescriptionDragHandle">drag_handle</i>
<div data-bind="html: $data.getDescriptionHTML()"></div>
<!-- /ko -->

Expand Down

0 comments on commit c21df62

Please sign in to comment.