Skip to content

Commit

Permalink
Icons in some Admin dashboard areas are misaligned (decidim#13697)
Browse files Browse the repository at this point in the history
* Icons in some Admin dashboard areas are misaligned

* fix code

* Initiative refactor

* running linters

* Update decidim-admin/app/packs/stylesheets/decidim/admin/_moderations.scss

Co-authored-by: Tom Greenwood <101816158+greenwoodt@users.noreply.github.com>

---------

Co-authored-by: Alexandru Emil Lupu <contact@alecslupu.ro>
Co-authored-by: Tom Greenwood <101816158+greenwoodt@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 3, 2024
1 parent 54e0a5f commit 454b966
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@
list-style: none;
margin: 0;

li a {
@apply flex items-center;

svg {
@apply ml-1;
}
}

.icon {
@apply ml-2;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import "src/decidim/initiatives/admin/initiatives_types"
import "src/decidim/initiatives/admin/invite_users"
import "src/decidim/initiatives/scoped_type"

import "entrypoints/decidim_initiatives_admin.scss"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import "stylesheets/decidim/initiatives/admin/initiatives.scss";
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#committee_members {
.card-section {
.row {
div[data-committee_link] {
@apply flex items-center;

svg {
@apply mx-1;
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@
</table>
</div>

<%= append_stylesheet_pack_tag "decidim_initiatives_admin" %>
<%= append_javascript_pack_tag "decidim_initiatives_admin" %>

0 comments on commit 454b966

Please sign in to comment.