Projet

Général

Profil

0001-carrousel-allow-text-position-on-top-right-corner-40.patch

Serghei Mihai (congés, retour 15/05), 13 mars 2020 11:31

Télécharger (1011 octets)

Voir les différences:

Subject: [PATCH] carrousel: allow text position on top right corner (#40717)

 static/includes/_carrousel.scss | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
static/includes/_carrousel.scss
79 79
						margin-left: auto;
80 80
						margin-right: auto;
81 81
					}
82
				} @else if $carrousel-text-position == "bottom-left" {
82
				} @else {
83 83
					text-align: left;
84 84
					position: absolute;
85
					bottom: 1rem;
85
					@if $carrousel-text-position == "bottom-left" {
86
						bottom: 1rem;
87
					} @else if $carrousel-text-position == "top-right" {
88
						top: 1rem;
89
						right: 1rem;
90
					}
86 91
				}
87 92
				z-index: 100;
88 93
				line-height: 110%;
89
-