Skip to content

Commit

Permalink
remove resource type label within titled preview
Browse files Browse the repository at this point in the history
  • Loading branch information
s3fs committed Dec 9, 2024
1 parent b85b351 commit 14534e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
4 changes: 1 addition & 3 deletions src/components/Preview/Preview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@
}

.details {
display: flex;
flex-direction: column;
align-items: center;
padding: 0.7rem;

h5 {
font-size: 0.95rem;
Expand Down
5 changes: 0 additions & 5 deletions src/components/Preview/TitledPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ export const TitledPreview = ({
)}
<div className="details">
{title && <h5>{title}</h5>}
{type && (
<span>
<FormattedMessage id={`ld.${type}`} defaultMessage={'Resource'} />
</span>
)}
</div>
</>
);
Expand Down

0 comments on commit 14534e0

Please sign in to comment.