summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-13 14:23:37 -0500
committerClement Ho <ClemMakesApps@gmail.com>2018-04-13 14:23:37 -0500
commit67cedaa96c3d1eb405d2ce41ec3a15cb0b2571f2 (patch)
tree712493d69f7ef4a1601ce26ea8c53e1c2ef0390e
parent639b71894f3183f2b1603eff73f24cc32b52285b (diff)
downloadgitlab-ce-67cedaa96c3d1eb405d2ce41ec3a15cb0b2571f2.tar.gz
[skip ci] Default text align right for horizontal form's labels
-rw-r--r--app/assets/stylesheets/bootstrap_migration.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/stylesheets/bootstrap_migration.scss b/app/assets/stylesheets/bootstrap_migration.scss
index b39c8992761..1def26011d7 100644
--- a/app/assets/stylesheets/bootstrap_migration.scss
+++ b/app/assets/stylesheets/bootstrap_migration.scss
@@ -33,6 +33,12 @@ button, html [type="button"], [type="reset"], [type="submit"] {
cursor: pointer;
}
+.form-group.row .col-form-label {
+ // Bootstrap 4 aligns labels to the left
+ // for horizontal forms
+ text-align: right;
+}
+
// Polyfill deprecated selectors
.hidden {