Commit dbf0d78d authored by Marc Fehr's avatar Marc Fehr 💻

Icon fix in shareItem (className is not passed through to the <i> element anymore)

parent 91855398
......@@ -30,5 +30,5 @@ $mail-color: #fd6f2c;
}
ul.ui.list li, ol.ui.list li, .ui.list > .item, .ui.list .list > .item {
line-height: 95% !important;
// line-height: 95% !important;
}
......@@ -53,8 +53,7 @@ export function ShareItem ({
description,
shareUrl,
onClick = function () {},
className = '',
iconClassName = ''
className = ''
}: ShareItemProps): React.Element<*> {
let itemClass = `${type} ${inverted ? 'inverted' : ''} ${className} share`
let innerText
......@@ -85,7 +84,7 @@ export function ShareItem ({
target='_top'
>
<i
className={`${itemClass} ${iconReplacement[type]} icon`}
className={`${iconReplacement[type]} icon`}
style={{
color: className.indexOf('#') >= 0 ? className : ''
}}
......
......@@ -2,7 +2,4 @@
.inverted .ta.sharing .share:not(.inverted) {
color: #007abf; }
ul.ui.list li, ol.ui.list li, .ui.list > .item, .ui.list .list > .item {
line-height: 95% !important; }
/*# sourceMappingURL=styles.css.map */
\ No newline at end of file
......@@ -5,5 +5,5 @@
"../scss/styles.scss"
],
"names": [],
"mappings": "AAwBA,AAC6B,SADpB,CACP,GAAG,AAAA,QAAQ,AAAA,IAAK,CAAA,AAAA,SAAS,EAAE,MAAM;AADnC,AAEc,SAFL,CAEP,GAAG,AAAA,QAAQ,CAAC,MAAM,AAAA,IAAK,CAAA,AAAA,SAAS,EAAE;EAChC,KAAK,EAAE,OACT,GAAE;;AAGJ,AAAW,EAAT,AAAA,GAAG,AAAA,KAAK,CAAC,EAAE,EAAE,AAAW,EAAT,AAAA,GAAG,AAAA,KAAK,CAAC,EAAE,EAAE,AAAW,GAAR,AAAA,KAAK,GAAG,KAAK,EAAE,AAAiB,GAAd,AAAA,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC;EACrE,WAAW,EAAE,cAAc,GAC5B"
"mappings": "AAwBA,AAC6B,SADpB,CACP,GAAG,AAAA,QAAQ,AAAA,IAAK,CAAA,AAAA,SAAS,EAAE,MAAM;AADnC,AAEc,SAFL,CAEP,GAAG,AAAA,QAAQ,CAAC,MAAM,AAAA,IAAK,CAAA,AAAA,SAAS,EAAE;EAChC,KAAK,EAAE,OACT,GAAE"
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment