diff --git a/src/components/ItaliaTheme/Icons/Icon.jsx b/src/components/ItaliaTheme/Icons/Icon.jsx
index 43410ab11..06939fb88 100644
--- a/src/components/ItaliaTheme/Icons/Icon.jsx
+++ b/src/components/ItaliaTheme/Icons/Icon.jsx
@@ -7,6 +7,7 @@ import classNames from 'classnames';
import DesignIcon from './DesignIcon';
import TelegramSVG from './svg/TelegramSVG';
+import XTwitterSVG from './svg/XTwitterSVG';
import { FontAwesomeIcon } from 'design-comuni-plone-theme/components/ItaliaTheme';
const Icon = (props) => {
@@ -25,10 +26,13 @@ const Icon = (props) => {
const parts = icon.split(' ');
- if (icon.indexOf('it-') === 0) {
+ // TO DO: rimuovere le condizioni dell'icona di twitter quando verrĂ aggiornato Bootstrap Italia
+ if (icon.indexOf('it-') === 0 && icon !== 'it-twitter') {
return ;
} else if (icon === 'telegram') {
return ;
+ } else if (icon === 'it-twitter') {
+ return ;
} else if (parts.length > 1) {
return (
diff --git a/src/components/ItaliaTheme/Icons/svg/XTwitterSVG.jsx b/src/components/ItaliaTheme/Icons/svg/XTwitterSVG.jsx
new file mode 100644
index 000000000..1d1cad9ef
--- /dev/null
+++ b/src/components/ItaliaTheme/Icons/svg/XTwitterSVG.jsx
@@ -0,0 +1,18 @@
+import * as React from 'react';
+
+const XTwitterSVG = (props) => (
+
+);
+
+export default XTwitterSVG;
diff --git a/theme/ItaliaTheme/Components/_sharing.scss b/theme/ItaliaTheme/Components/_sharing.scss
index c2f2777a3..21e280d21 100644
--- a/theme/ItaliaTheme/Components/_sharing.scss
+++ b/theme/ItaliaTheme/Components/_sharing.scss
@@ -5,16 +5,21 @@
box-shadow: 0 0 0 2px $focus-outline-color;
outline: none;
}
+
.link-list-wrapper {
- z-index: 10;
position: relative;
+ z-index: 10;
+
ul {
li {
a.list-item,
button.btn-link {
display: flex;
align-items: center;
+
.icon {
+ width: 28px;
+ height: 28px;
margin-right: 0.5em;
}
}