diff --git a/css/flag-link-ajax.css b/css/flag-link-ajax.css
new file mode 100644
index 0000000..b70a1ef
--- /dev/null
+++ b/css/flag-link-ajax.css
@@ -0,0 +1,10 @@
+/**
+ * @file
+ * AJAX specific styles for flag links.
+ *
+ * @see flag.html.twig.
+ */
+.js-flag-message {
+  display: inline;
+  margin-left: 1.2em;
+}
diff --git a/flag.libraries.yml b/flag.libraries.yml
index a97edde..ca63e6d 100644
--- a/flag.libraries.yml
+++ b/flag.libraries.yml
@@ -20,7 +20,10 @@ flag.link_ajax:
   version: VERSION
   js:
     js/flag-action_link_flash.js: {}
+  css:
+    theme:
+      css/flag-link-ajax.css: {}
   dependencies:
     - core/jquery
     - core/drupal
-    - core/drupal.ajax
\ No newline at end of file
+    - core/drupal.ajax
diff --git a/js/flag-action_link_flash.js b/js/flag-action_link_flash.js
index b024c36..d56af91 100644
--- a/js/flag-action_link_flash.js
+++ b/js/flag-action_link_flash.js
@@ -25,12 +25,12 @@
    */
   Drupal.AjaxCommands.prototype.actionLinkFlash = function (ajax, response, status) {
     // Construct a <p> element with escaped message.
-    var p_elem = $('<p>').text(response.message);
+    var p_elem = $('<p class="js-flag-message">').text(response.message);
 
-    $(response.selector).after(p_elem);
+    $(response.selector).append(p_elem);
 
-    p_elem.fadeIn('fast', function() {
-      $(this).fadeOut(3000, function() {
+    p_elem.fadeIn('fast', function () {
+      $(this).fadeOut(3000, function () {
         $(this).remove();
       });
     });
diff --git a/src/Ajax/ActionLinkFlashCommand.php b/src/Ajax/ActionLinkFlashCommand.php
index 0c4a33f..7498475 100644
--- a/src/Ajax/ActionLinkFlashCommand.php
+++ b/src/Ajax/ActionLinkFlashCommand.php
@@ -7,7 +7,7 @@ use Drupal\Core\Ajax\CommandInterface;
 /**
  * Flash a message as an action link is updated.
  *
- * The client side code can be found in js/flag-action_link_flash.js
+ * The client side code can be found in js/flag-action_link_flash.js.
  *
  * @ingroup flag
  */
diff --git a/src/Controller/ActionLinkController.php b/src/Controller/ActionLinkController.php
index 531afc0..b13c476 100644
--- a/src/Controller/ActionLinkController.php
+++ b/src/Controller/ActionLinkController.php
@@ -170,4 +170,3 @@ class ActionLinkController extends ControllerBase implements ContainerInjectionI
   }
 
 }
-
