From eba284a756eec489ac3a26cae76f270f11099462 Mon Sep 17 00:00:00 2001 From: -l Date: Thu, 26 Oct 2023 13:16:14 +0200 Subject: [PATCH] fix(Anchor): position icon left with target blank sbanken --- ...match-blank-target-with-icon-left.snap.png | Bin 4867 -> 4927 bytes .../themes/dnb-anchor-theme-sbanken.scss | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dnb-eufemia/src/components/anchor/__tests__/__image_snapshots__/anchor-target-blank-for-sbanken-have-to-match-blank-target-with-icon-left.snap.png b/packages/dnb-eufemia/src/components/anchor/__tests__/__image_snapshots__/anchor-target-blank-for-sbanken-have-to-match-blank-target-with-icon-left.snap.png index 82d83b4218322492f477459a53be4ea38137708e..0c3c62cd6eb104dab66fe89f363e3a03353ce882 100644 GIT binary patch literal 4927 zcmb_gVI*WgK)Sm@I);*xcIXlT=>~zJyTKtOhLDhYXeAU0k)hLJ z=#qE*1Kw}HFL&Lu&fR<8yVkk2I+onyQvGb|!;IzXH^xR}MC$&R~xvAt|OReGv6kf&BA@PPtl` zoM8~F+BWYHfUrC^f|wYr*7SSi-l<4zIxp`AV`WA2qswc`{F&mf&)!bw`CU#$(kC3V z_lBvFtgOVu01*Y&4^;3ZN6k(iY?K&A1?PysCKf1g*&s{WIX<|2OYY&KTrU%OjPg2Fkk=Bmc2#O zwgx+p-MimK3-B0nd79_m{8*86{T_3=KF=U*V-s9Og7llT%6tRI`$bx+(gC6w2YMjLqvV3!Pp{Rb;`MpH zP5Tl)37PP^y5#tEofIg>{^4RsgL3$G2XHGV5N>bw3FU)<}}_33K~?`xWO z$$ry?cj4~}Ur35+M}QS$fq3R!e*FFqj=w63*C@t-^tE};_Rgz1+)~>W0TFeR7)K^F!HhL@l*3mz-?#8&r&O*60+FI)~2j_ulGg z-w~cHYvug~&(|7dfs*lVbibCRY?Yid?HvnAu^|*=bY>*)Kgm>ib=-C z?ZyX#NTaJXRj+R`EJ^m8n|yp%&h}*u zPPSUJ?d#RXXiM-S*X^n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FpxJr}vOk%KqKf*884Fo8iMi zDvQOClv=aj*>vNE$vmrssv{YePrZfKsqeg2*Bs1lAb(`RG!B`SZHVXm(EBbo~c4L`x;?V_RPn=XKgZ$#lH^!SEA z5Cd5X2%Ok|-4#62GV6asdQbuNSG9s_0sN~=)`8V1zK-}GXJ#?p diff --git a/packages/dnb-eufemia/src/components/anchor/style/themes/dnb-anchor-theme-sbanken.scss b/packages/dnb-eufemia/src/components/anchor/style/themes/dnb-anchor-theme-sbanken.scss index 3d4ab3cec89..83714bf3c0f 100644 --- a/packages/dnb-eufemia/src/components/anchor/style/themes/dnb-anchor-theme-sbanken.scss +++ b/packages/dnb-eufemia/src/components/anchor/style/themes/dnb-anchor-theme-sbanken.scss @@ -87,7 +87,7 @@ &--icon-left { margin-left: 1em + $anchor-icon-gutter; - .dnb-icon { + .dnb-icon:first-of-type { font-size: 1em; margin-right: $anchor-icon-gutter; margin-left: -1em - $anchor-icon-gutter;