Projet

Général

Profil

0001-scss-align-registration-blocks-on-same-line-with-OR-.patch

Frédéric Péters, 25 octobre 2019 11:53

Télécharger (1,84 ko)

Voir les différences:

Subject: [PATCH] scss: align registration blocks on same line, with "OR"
 between (#36673)

 static/includes/_cells.scss                   | 3 ++-
 static/includes/_misc.scss                    | 3 ++-
 templates/registration/registration_form.html | 2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)
static/includes/_cells.scss
586 586

  
587 587
// login page
588 588

  
589
div#login-page.methods2 > div.block {
589
#registration-blocks.methods2 > .a2-block,
590
#login-page.methods2 > .block {
590 591
	width: 50%;
591 592
	width: calc(50% - 2em);
592 593
	margin: 0;
static/includes/_misc.scss
95 95

  
96 96
@if $cell-border == none {
97 97
	// add a border next to FranceConnect
98
	.block + div.block-fc {
98
	.a2-block + #frontend-registration-fc,
99
	.block + .block-fc {
99 100
		position: relative;
100 101
		border-left: 1px solid #999;
101 102
		padding-left: 2rem;
templates/registration/registration_form.html
10 10
{% block placeholder-content %}
11 11

  
12 12
{% block registration-pre %}{% endblock %}
13
<div id="registration-blocks">
13
<div id="registration-blocks" class="methods{{frontends.items|length}}">
14 14
{% block registration-top %}{% endblock %}
15 15

  
16 16
{% block registration-email %}
17
-