Skip to content

Commit

Permalink
Show only resource type in field tab, some tabs improvements (#362)
Browse files Browse the repository at this point in the history
* rm double dot

* rm subtype

* resize dl
  • Loading branch information
luorlandini authored Jul 23, 2021
1 parent 75733c9 commit 40e3336
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const DefinitionList = ({itemslist}) => {
const items = itemslist?.map( item => {
return (
item.value && <>
<dt className="DList-cell DList-cell--medium"><strong>{`${item.label}:`}</strong></dt>
<dt className="DList-cell DList-cell--medium"><strong>{`${item.label}`}</strong></dt>
<dd className="DList-cell">{`${item.value}`}</dd>
</>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ function DetailsPanel({
},
{
"label": "Resource Type",
"value": resource?.resource_type + " " + resource.subtype
"value": resource?.resource_type
},
{
"label": "Category",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@
border-bottom: 1px solid;

}
.DList--2cols > .DList-cell { width: 50%; }

.DList--2cols > .DList-cell { width: 75%; }
.DList--2cols > .DList-cell--medium { width: 25%; }
.moreinfo{
margin: 1em 0;
}
Expand Down

0 comments on commit 40e3336

Please sign in to comment.