Skip to content
Snippets Groups Projects
Commit 745be7e4 authored by Ann Yanich's avatar Ann Yanich
Browse files

Set correct icon in courseware block adder list

parent 7a269dd4
No related branches found
No related tags found
No related merge requests found
Pipeline #20280 passed
......@@ -22,7 +22,7 @@ class CoursewareExcalidrawBlockPlugin extends StudIPPlugin implements \SystemPlu
// Add CSS to set the correct icon for the block in the block adder
$icon = Icon::create('block-canvas');
\PageLayout::addStyle(
'.cw-blockadder-item.cw-blockadder-item-excalidraw {
'.cw-blockadder-item-list .cw-blockadder-item.cw-blockadder-item-excalidraw {
background-image:url(' . $icon->asImagePath() . ')
}'
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment