fix: Compact invite dialog layout

closes #6819
This commit is contained in:
Tom Moor
2024-04-17 19:26:54 -04:00
parent 2a5c13c2ba
commit e33ca19e64
3 changed files with 6 additions and 4 deletions

View File

@@ -255,7 +255,7 @@ const Small = styled.div`
animation: ${fadeAndScaleIn} 250ms ease;
margin: auto auto;
width: 30vw;
width: 75vw;
min-width: 350px;
max-width: 450px;
z-index: ${depths.modal};

View File

@@ -204,7 +204,7 @@ function Invite({ onSubmit }: Props) {
labelHidden={index !== 0}
onKeyDown={handleKeyDown}
onChange={(ev) => handleChange(ev, index)}
placeholder={`example@${predictedDomain}`}
placeholder={`name@${predictedDomain}`}
value={invite.email}
required={index === 0}
autoFocus
@@ -254,6 +254,8 @@ function Invite({ onSubmit }: Props) {
const StyledInput = styled(Input)`
margin-bottom: -4px;
min-width: 0;
flex-shrink: 1;
`;
export default observer(Invite);

View File

@@ -63,11 +63,10 @@
"Move {{ documentType }}": "Move {{ documentType }}",
"Archive": "Archive",
"Document archived": "Document archived",
"Empty trash": "Empty trash",
"Delete {{ documentName }}": "Delete {{ documentName }}",
"Permanently delete": "Permanently delete",
"Permanently delete {{ documentName }}": "Permanently delete {{ documentName }}",
"Empty": "Empty",
"Empty trash": "Empty trash",
"Permanently delete documents in trash": "Permanently delete documents in trash",
"Comments": "Comments",
"History": "History",
@@ -304,6 +303,7 @@
"You can't reorder documents in an alphabetically sorted collection": "You can't reorder documents in an alphabetically sorted collection",
"Collections": "Collections",
"Document not supported try Markdown, Plain text, HTML, or Word": "Document not supported try Markdown, Plain text, HTML, or Word",
"Empty": "Empty",
"Go back": "Go back",
"Go forward": "Go forward",
"Could not load shared documents": "Could not load shared documents",