diff --git a/src/components/AnnotationCard/AnnotationCard.js b/src/components/AnnotationCard/AnnotationCard.js index 0434c6a9..b4517ce6 100644 --- a/src/components/AnnotationCard/AnnotationCard.js +++ b/src/components/AnnotationCard/AnnotationCard.js @@ -435,7 +435,7 @@ function AnnotationCard({ const annotationSaveButton = annotationMatchesCurrentFilters() ? saveButton : ( + Note: {' '} Filters applied to this document may exclude @@ -735,18 +735,6 @@ function AnnotationCard({ - + + + {`See all ${key === 'shared' ? key : 'created'} documents...`} + + + + )} + {!listLoading && documents && documents.length === 0 && ( + + {`You have no ${key === 'shared' ? key : 'created'} documents.`} + + )} + + + + ); }; diff --git a/src/style/custom.scss b/src/style/custom.scss index 452b4f72..0b891816 100644 --- a/src/style/custom.scss +++ b/src/style/custom.scss @@ -306,5 +306,20 @@ ol.breadcrumb { } } +.styled-tooltip { + .tooltip-inner { + font-size: 12px; + background-color: #f6f6f6; + color: black; + border: 1px solid rgba(0, 0, 0, 0.125); + } + .arrow { + background-color: transparent; + } + .arrow::before { + border-top-color: rgba(0, 0, 0, 0.125) !important; + } +} + /* import bootstrap */ @import "~bootstrap/scss/bootstrap";