Tweak layout of login screen to account for new custom logos

This commit is contained in:
Tom Moor
2022-10-23 11:36:54 -04:00
parent 60f6a1f1c6
commit e714e934cb
3 changed files with 23 additions and 25 deletions

View File

@@ -125,14 +125,14 @@ function SharedDocumentScene(props: Props) {
<Login>
{(config) =>
config?.name && isCloudHosted ? (
<GetStarted>
<Content>
{t(
"{{ teamName }} is using Outline to share documents, please login to continue.",
{
teamName: config.name,
}
)}
</GetStarted>
</Content>
) : null
}
</Login>
@@ -175,7 +175,8 @@ function SharedDocumentScene(props: Props) {
);
}
const GetStarted = styled(Text)`
const Content = styled(Text)`
color: ${(props) => props.theme.textSecondary};
text-align: center;
margin-top: -8px;
`;