diff --git a/services/web/app/src/infrastructure/Features.js b/services/web/app/src/infrastructure/Features.js index 0a90b8af01..0d1a892000 100644 --- a/services/web/app/src/infrastructure/Features.js +++ b/services/web/app/src/infrastructure/Features.js @@ -50,6 +50,8 @@ module.exports = Features = { return Settings.overleaf != null case 'references': return Settings.apis.references.url != null + case 'saml': + return Settings.enableSaml != null default: throw new Error(`unknown feature: ${feature}`) } diff --git a/services/web/public/stylesheets/app/login-register.less b/services/web/public/stylesheets/app/login-register.less index e97f1fb6d6..0c1362c469 100644 --- a/services/web/public/stylesheets/app/login-register.less +++ b/services/web/public/stylesheets/app/login-register.less @@ -4,6 +4,12 @@ @brand-orcid-color : #A6CE39; @brand-sharelatex-color : #A93529; +.login-register-alternatives { + .form-group:last-child { + margin-bottom: 0; + } +} + .login-register-container { max-width: 400px; margin: 0 auto; @@ -39,7 +45,6 @@ .login-register-text, .login-register-hr-text-container { margin: 0; - font-size: 90%; } .login-register-text { diff --git a/services/web/public/stylesheets/components/card.less b/services/web/public/stylesheets/components/card.less index 37a3d4a7b5..1fc31bf2c9 100644 --- a/services/web/public/stylesheets/components/card.less +++ b/services/web/public/stylesheets/components/card.less @@ -58,4 +58,8 @@ .card-border { border: @border-width-base solid @border-color-base; -} \ No newline at end of file +} + +.card-content { + padding: @padding-md; +} diff --git a/services/web/public/stylesheets/core/type.less b/services/web/public/stylesheets/core/type.less index 5b74175307..9c4a59eb3f 100755 --- a/services/web/public/stylesheets/core/type.less +++ b/services/web/public/stylesheets/core/type.less @@ -83,6 +83,12 @@ p { small, .small { font-size: 90%; color: @text-small-color; } +.login-register-text, +.login-register-hr-text-container, +.text-small { + font-size: 90%; +} + // Undo browser default styling cite { font-style: normal; }