Skip to content

Commit

Permalink
Resolve the offset for form editor
Browse files Browse the repository at this point in the history
  • Loading branch information
iTerminate committed Jan 13, 2025
1 parent 098b6c2 commit 644c8f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/javascripts/traveler.js
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ $(function() {
$('#complete').prop('disabled', true);
if ($cgw.children('.control-group-buttons').length === 0) {
$cgw.prepend(
'<div class="control-group-buttons"><button value="save" class="btn btn-primary">Save</button> <button value="reset" class="btn btn-secondary">Reset</button></div>'
'<div class="traveler-control-group-buttons control-group-buttons"><button value="save" class="btn btn-primary">Save</button> <button value="reset" class="btn btn-secondary">Reset</button></div>'
);
}
}
Expand Down
5 changes: 4 additions & 1 deletion public/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,14 @@ ul.dropdown-menu input[type='checkbox'] {

.control-group-buttons {
position: relative;
right: 150px;
float: right;
margin-top: inherit;
}

.traveler-control-group-buttons {
right: 150px;
}

.file-upload-buttons {
position: relative;
float: right;
Expand Down

0 comments on commit 644c8f0

Please sign in to comment.