Skip to content

Commit

Permalink
fix css
Browse files Browse the repository at this point in the history
  • Loading branch information
btn114 committed Nov 26, 2018
1 parent 8ee7c55 commit 679c5d9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
14 changes: 1 addition & 13 deletions view/adminhtml/templates/hook/body.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,4 @@ $modifiersData = $block->getModifier() ? \Mageplaza\Webhook\Helper\Data::jsonEnc
}
}
}
</script>
<style>
#hook_payload_url {
max-width: 80%;
}
label[for="hook_payload_url"] {
float: right;
max-width: 20%;
}
a#insert-variable-upload {
float: right;
}
</style>
</script>
4 changes: 2 additions & 2 deletions view/adminhtml/templates/hook/headers.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ $_colspan = $block->isAddAfter() ? 2 : 1;
<?php endforeach;?>
<th class="col-actions" colspan="<?php /* @escapeNotVerified */ echo $_colspan; ?>">Action</th>
</tr>
</thead>
</thead
<tfoot>
<tr>
<td colspan="<?php echo count($block->getColumns())+$_colspan; ?>" class="col-actions-add">
<button id="addToEndBtn<?php /* @escapeNotVerified */ echo $_htmlId; ?>" class="action-add" title="<?php /* @escapeNotVerified */ echo __('Add'); ?>" type="button">
<span><?php /* @escapeNotVerified */ echo $block->getAddButtonLabel(); ?><?php /* @escapeNotVerified */ echo __('Add'); ?></span>
<span><?php /* @escapeNotVerified */ echo $block->getAddButtonLabel(); ?></span>
</button>
</td>
</tr>
Expand Down
14 changes: 14 additions & 0 deletions view/adminhtml/web/css/form/edit-hook.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,18 @@ a.btn {
font-weight: 600;
line-height: 1.36;
cursor: pointer;
}

#hook_payload_url {
max-width: 80%;
}

label[for="hook_payload_url"].addafter {
position: absolute;
top: 0;
right: 20%;
}

a#insert-variable-upload {
float: right;
}

0 comments on commit 679c5d9

Please sign in to comment.