mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 00:23:50 +00:00
[css] add a margin on the button "delete entry" in collection
This commit is contained in:
@@ -13,6 +13,10 @@ div.chill-collection {
|
||||
li.chill-collection__list__entry:nth-last-child(1n+2) {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
button.chill-collection__list__remove-entry {
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
button.chill-collection__button--add {
|
||||
|
@@ -76,7 +76,7 @@ var initializeRemove = function(collection, entry) {
|
||||
return;
|
||||
}
|
||||
|
||||
button.classList.add('sc-button', 'bt-delete');
|
||||
button.classList.add('sc-button', 'bt-delete', 'chill-collection__list__remove-entry');
|
||||
button.textContent = content;
|
||||
|
||||
button.addEventListener('click', function(e) {
|
||||
|
Reference in New Issue
Block a user