Skip to content

Commit

Permalink
A little margin for our pretty little button
Browse files Browse the repository at this point in the history
  • Loading branch information
hugithordarson committed Nov 17, 2024
1 parent 41f7f59 commit 9275e75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public NGElementNotFoundElement( final String type ) {
@Override
public void appendToResponse( NGResponse response, NGContext context ) {
String s = """
<a href="%s" style="padding: 10px; border: 2px solid rgba(50,50,200,0.6); box-shadow: 4px 4px 1px red; background-color: rgba(0,0,200,0.5); border-radius: 4px; text-decoration: none; color: white">
<a href="%s" style="padding: 10px; margin: 10px; border: 2px solid rgba(50,50,200,0.6); box-shadow: 4px 4px 1px red; background-color: rgba(0,0,200,0.5); border-radius: 4px; text-decoration: none; color: white">
Can't find an element/component '<strong>%s</strong>'. Would you like to create it?
</a>
""".formatted( context.componentActionURL() + "?elementName=" + _type, _type );
Expand Down

0 comments on commit 9275e75

Please sign in to comment.