feat: Improved viewers popover (#2106)

* refactoring popover

* feat: DocumentViews popover

* i18n

* fix: tab focus warnings

* test: Add tests around users.info changes

* snapshots
This commit is contained in:
Tom Moor
2021-05-05 19:35:23 -07:00
committed by GitHub
parent e984a3dcdb
commit 896ee5c20d
18 changed files with 388 additions and 191 deletions

View File

@@ -109,7 +109,7 @@ function DocumentShare({ document, share, onSubmit }: Props) {
type="text"
label={t("Link")}
placeholder={`${t("Loading")}`}
value={share ? share.url : undefined}
value={share ? share.url : ""}
labelHidden
readOnly
/>
@@ -126,7 +126,7 @@ function DocumentShare({ document, share, onSubmit }: Props) {
const Heading = styled.h2`
display: flex;
align-items: center;
margin-top: 0;
margin-top: 12px;
margin-left: -4px;
`;