Skip to content

Commit

Permalink
Merge branch 'main' into us51599-sitesearch-input
Browse files Browse the repository at this point in the history
  • Loading branch information
Wagner3UB committed Feb 5, 2024
2 parents f2a0013 + 1c2e689 commit a0e548f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
- ...
-->
## Versione x.x.x (xx/xx/xxxx)

### Novità

- Aggiunta l'icona per il formato di file CSV


## Versione 11.3.3 (30/01/2024)

Expand Down
5 changes: 5 additions & 0 deletions src/helpers/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import faFileXsd from 'design-comuni-plone-theme/icons/file-xsd.svg';
import faFileOdp from 'design-comuni-plone-theme/icons/file-odp.svg';
import faFileOds from 'design-comuni-plone-theme/icons/file-ods.svg';
import faFileOdt from 'design-comuni-plone-theme/icons/file-odt.svg';
import faFileCSV from 'design-comuni-plone-theme/icons/file-csv.svg';

export const FILE_FORMATS = {
'text/rtf': { icon: { lib: 'far', name: 'file-alt' }, format_name: 'rtf' },
Expand Down Expand Up @@ -87,6 +88,10 @@ export const FILE_FORMATS = {
icon: { lib: '', name: faFileXml, svg_format: true },
format_name: 'XML',
},
'text/csv': {
icon: { lib: '', name: faFileCSV, svg_format: true },
format_name: 'CSV',
},
'application/xml': {
icon: { lib: '', name: faFileXml, svg_format: true },
format_name: 'XML',
Expand Down
1 change: 1 addition & 0 deletions src/icons/file-csv.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/theme/ItaliaTheme/Blocks/_imageBlock.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

&.align.left,
&.align.right {
margin-bottom: 0;

img {
margin-bottom: 0.5rem;
}
Expand Down

0 comments on commit a0e548f

Please sign in to comment.