diff --git a/lib/osf-components/addon/components/draft-registration-card/styles.scss b/lib/osf-components/addon/components/draft-registration-card/styles.scss index 18c7a85ec3f..eb0a5adc39f 100644 --- a/lib/osf-components/addon/components/draft-registration-card/styles.scss +++ b/lib/osf-components/addon/components/draft-registration-card/styles.scss @@ -38,20 +38,16 @@ } } -// stylelint-disable selector-no-qualifying-type -a.DraftRegistrationCard__review { - margin-right: 10px; +.DraftRegistrationCard__review { + composes: Button from '../button/styles.scss'; + composes: SecondaryButton from '../button/styles.scss'; + composes: MediumButton from '../button/styles.scss'; &:hover { - text-decoration: none; + text-decoration: none !important; /* override OsfLink hover style */ } } -// stylelint-enable selector-no-qualifying-type -.DraftRegistrationCard__edit { - vertical-align: bottom; -} - .DraftRegistrationCard__delete { button { padding: 6px 12px; diff --git a/lib/osf-components/addon/components/draft-registration-card/template.hbs b/lib/osf-components/addon/components/draft-registration-card/template.hbs index 0e58020a039..73815d3450b 100644 --- a/lib/osf-components/addon/components/draft-registration-card/template.hbs +++ b/lib/osf-components/addon/components/draft-registration-card/template.hbs @@ -78,20 +78,17 @@ @route='registries.drafts.draft.review' @models={{array this.draftRegistration.id}} > - + {{t 'osf-components.draft-registration-card.review'}} {{#unless this.draftRegistration.currentUserIsReadOnly}} - + {{t 'general.edit'}} {{/unless}} diff --git a/lib/osf-components/addon/components/node-card/styles.scss b/lib/osf-components/addon/components/node-card/styles.scss index c353bff123b..36c539e0370 100644 --- a/lib/osf-components/addon/components/node-card/styles.scss +++ b/lib/osf-components/addon/components/node-card/styles.scss @@ -87,3 +87,13 @@ overflow: hidden; white-space: nowrap; } + +.NodeCard__link { + composes: Button from '../button/styles.scss'; + composes: SecondaryButton from '../button/styles.scss'; + composes: MediumButton from '../button/styles.scss'; + + &:hover { + text-decoration: none !important; /* override OsfLink hover style */ + } +} diff --git a/lib/osf-components/addon/components/node-card/template.hbs b/lib/osf-components/addon/components/node-card/template.hbs index 74076f8a868..54709635a4f 100644 --- a/lib/osf-components/addon/components/node-card/template.hbs +++ b/lib/osf-components/addon/components/node-card/template.hbs @@ -172,30 +172,24 @@
- + {{t 'node_card.view_button'}} {{#if this.latestSchemaResponse}} {{#if this.shouldShowViewChangesButton}} - + {{t 'node_card.view_changes_button'}} {{/if}} {{/if}}