Skip to content

Commit

Permalink
Updated sidenav locked icon
Browse files Browse the repository at this point in the history
  • Loading branch information
mandla-noredink committed Nov 14, 2023
1 parent d3840ad commit bc0debf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Nri/Ui/SideNav/V5.elm
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module Nri.Ui.SideNav.V5 exposing
- removes primary and secondary
- adds `compactGroup`
- premium flag replaces lock icon in lock display
## View
Expand Down Expand Up @@ -70,6 +71,7 @@ import Nri.Ui.Fonts.V1 as Fonts
import Nri.Ui.Html.Attributes.V2 as AttributesExtra
import Nri.Ui.Html.V3 exposing (viewJust)
import Nri.Ui.MediaQuery.V1 as MediaQuery
import Nri.Ui.Pennant.V3 as Pennant
import Nri.Ui.Svg.V1 as Svg exposing (Svg)
import Nri.Ui.Tooltip.V3 as Tooltip
import Nri.Ui.UiIcon.V1 as UiIcon
Expand Down Expand Up @@ -638,7 +640,7 @@ viewLockedEntry extraStyles entryConfig =
Nothing ->
entryConfig.customAttributes
)
[ UiIcon.premiumLock
[ Pennant.contentPremiumFlag
|> Svg.withWidth (px 17)
|> Svg.withHeight (px 25)
|> Svg.withCss [ marginRight (px 10), minWidth (px 17) ]
Expand Down

0 comments on commit bc0debf

Please sign in to comment.