Skip to content

Commit

Permalink
simplified Actionable section in RefView
Browse files Browse the repository at this point in the history
  • Loading branch information
mojomonger committed May 15, 2024
1 parent 6b0bceb commit 660f490
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
5 changes: 3 additions & 2 deletions src/components/v2/refView/RefActionables.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ export default function RefActionables({ actionables, onAction }) {
<RefSectionHeader leftPart={<h3>Actionable Items</h3>} >
</RefSectionHeader>

<div className={"ref-view-actionable-caption"}>This citation has some things that can be fixed.</div>

<div className ="ref-view-actionables">

<div className={"ref-view-actionable-caption"}>This citation has some things that can be fixed.</div>

{actionables.map( (action, i) => {
const myAction = ACTIONABLE_FILTER_MAP[action]
if (!myAction) return null
Expand Down
11 changes: 1 addition & 10 deletions src/components/v2/refView/refView.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* candidates for global definition (for AI generated colors) */
--color-ref-view-text: #727272;
--color-ref-view-inline-heading: #4e4e4e;
--color-sub-caption: #727272;
--color-sub-caption: #9b9a9a;
--color-actionable-header: hsl(358 69% 65% / 1);
/* local definitions */
--titlebar-height: 2.5rem;
Expand Down Expand Up @@ -138,11 +138,6 @@
color:#aaaaaa !important;
margin-bottom: 0;
}
.ref-view-contents .section-actionables h3 {
/*color:var(--color-actionable-header) !important;*/
margin-bottom: 0;
}


.ref-view-list {
flex-shrink:1;
Expand Down Expand Up @@ -412,10 +407,6 @@
}

.ref-view-actionables {
/*margin-bottom: var(--margin-ref-view-section);*/
/*border: var(--border-box-light);*/
}
.ref-view-actionables .ref-view-actionable {
border: var(--border-box-actionable);
border-radius: .5rem;
padding:.25rem .35rem;
Expand Down

0 comments on commit 660f490

Please sign in to comment.