Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

align the text with the line when is multi-lined text

bsatarnejadd5c17578e4f2
diff --git a/frontend/src/global_styles/content/_accounts.sass b/frontend/src/global_styles/content/_accounts.sass
index 411f0adc883..b31f47d1162 100644
--- a/frontend/src/global_styles/content/_accounts.sass
+++ b/frontend/src/global_styles/content/_accounts.sass
@@ -75,18 +75,18 @@
// line behind title
// from http://codepen.io/ericrasch/pen/Irlpm
- &:before
- border-top: 2px solid var(--content-form-separator-color)
+
+ &:after
+ border-bottom: 2px solid var(--content-form-separator-color)
content: ""
// this centers the line to the full width specified
margin: 0 auto
// positioning must be absolute here, and relative positioning
// must be applied to the parent
position: absolute
- top: 50%
+ top: 33%
left: 0
right: 0
- bottom: 0
width: 95%
z-index: -1
@@ -95,7 +95,6 @@
// to hide the lines from behind the text, you have to set the
// background color the same as the container
background: var(--content-form-bg-color)
- padding: 0 15px
.login-auth-provider-list
@include prevent-float-collapse