Skip to content

Commit

Permalink
Merge pull request #32 from raivisdejus/master
Browse files Browse the repository at this point in the history
Adding icon to svandipwa menu in admin
  • Loading branch information
AleksandrsKondratjevs authored Dec 27, 2022
2 parents 7a4cded + 9e5d87d commit 11561c9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<system>
<tab id="scandipwa" translate="label" sortOrder="100">
<tab id="scandipwa" translate="label" sortOrder="100" class="scandipwa">
<label>Scandipwa</label>
</tab>
<include path="ScandiPWA_Customization::system/colors.xml"/>
Expand Down
14 changes: 14 additions & 0 deletions src/view/adminhtml/web/css/source/_module.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.config-nav-block.scandipwa {
strong {
&:before {
background: url("../ScandiPWA_Customization/images/scandipwa-logo.png") no-repeat center;
background-size: contain;
width: 16px;
height: 16px;
content: '';
display: inline-block;
margin-right: 5px;
vertical-align: bottom;
}
}
}
Binary file added src/view/adminhtml/web/images/scandipwa-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 11561c9

Please sign in to comment.