Skip to content

Commit

Permalink
Move markdown editor icons into app/frontend icons
Browse files Browse the repository at this point in the history
These SVGs are used for the buttons in the markdown editor. The button
toolbar is only shown as a JS enhancement, so it makes sense that these
icons should be in the app/frontend/icons folder.
  • Loading branch information
DavidBiddle committed Oct 7, 2024
1 parent dc3e256 commit a888d7c
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/components/markdown_editor_component/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,23 +63,23 @@
margin: 0;

&--h2 {
background-image: url("../../assets/icons/markdown-editor-h2.svg");
background-image: url("~/icons/markdown-editor-h2.svg");
}

&--h3 {
background-image: url("../../assets/icons/markdown-editor-h3.svg");
background-image: url("~/icons/markdown-editor-h3.svg");
}

&--bullet-list {
background-image: url("../../assets/icons/markdown-editor-bullet-list.svg");
background-image: url("~/icons/markdown-editor-bullet-list.svg");
}

&--numbered-list {
background-image: url("../../assets/icons/markdown-editor-numbered-list.svg");
background-image: url("~/icons/markdown-editor-numbered-list.svg");
}

&--link {
background-image: url("../../assets/icons/markdown-editor-link.svg");
background-image: url("~/icons/markdown-editor-link.svg");
}
}

Expand Down
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit a888d7c

Please sign in to comment.