Projet

Général

Profil

0002-scss-allow-carrousel-content-position-on-top-right-c.patch

Voir les différences:

Subject: [PATCH 2/2] scss: allow carrousel content position on top right
 corner (#40717)

 help/fr/misc-scss.page          | 3 ++-
 static/includes/_carrousel.scss | 5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)
help/fr/misc-scss.page
795 795
 <tr>
796 796
  <td><p><code>$carrousel-text-position</code></p></td>
797 797
  <td><p>Position du texte des différentes pages; les valeurs possibles sont
798
  middle (milieu de page) et bottom-left (en bas à gauche).</p></td>
798
  middle (milieu de page), bottom-left (en bas à gauche) et
799
  top-right (en haut à droite).</p></td>
799 800
  <td><p><var>middle</var></p></td>
800 801
 </tr>
801 802
 <tr>
static/includes/_carrousel.scss
62 62
			} @else if $carrousel-text-position == "bottom-left" {
63 63
				align-items: flex-end;
64 64
				justify-content: flex-start;
65
			}  @else if $carrousel-text-position == "top-right" {
66
				align-items: flex-start;
67
				justify-content: flex-end;
65 68
			}
66 69
			div.carrousel-item-content {
67 70
				@if $carrousel-navigation == "visible" {
......
88 91
					}
89 92
				} @else if $carrousel-text-position == "bottom-left" {
90 93
					text-align: left;
94
				} @else if $carrousel-text-position == "top-right" {
95
					text-align: right;
91 96
				}
92 97
				z-index: 100;
93 98
				line-height: 110%;
94
-