Skip to content

Commit

Permalink
seperating multiple messages with border top
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 authored and drmenzelit committed Aug 31, 2020
1 parent a62b9ec commit 3c12057
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
Expand Up @@ -26,6 +26,10 @@
background: var(--alert-accent-color, transparent);
}

.alert-wrapper {
width: 100%;
}

.alert-link {
color: var(--success, inherit);
}
Expand Down Expand Up @@ -90,5 +94,9 @@
padding: .3rem .3rem .3rem 2rem;
}
}

.alert-message:not(:first-of-type) {
border-top: 1px solid var(--alert-accent-color);
}
}
}
2 changes: 1 addition & 1 deletion layouts/joomla/system/message.php
Expand Up @@ -46,7 +46,7 @@
<joomla-alert type="<?php echo $alert[$type] ?? $type; ?>" dismiss="true">
<?php if (!empty($msgs)) : ?>
<div class="alert-heading"><?php echo Text::_($type); ?></div>
<div>
<div class="alert-wrapper">
<?php foreach ($msgs as $msg) : ?>
<div class="alert-message"><?php echo $msg; ?></div>
<?php endforeach; ?>
Expand Down
Expand Up @@ -26,6 +26,10 @@
background: var(--alert-accent-color, transparent);
}

.alert-wrapper {
width: 100%;
}

.alert-link {
color: var(--success, inherit);
}
Expand Down Expand Up @@ -90,5 +94,9 @@
padding: .3rem .3rem .3rem 2rem;
}
}

.alert-message:not(:first-of-type) {
border-top: 1px solid var(--alert-accent-color);
}
}
}

0 comments on commit 3c12057

Please sign in to comment.