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 | 4 ++++
 2 files changed, 6 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
64 64
				align-items: flex-end;
65 65
				justify-content: flex-start;
66 66
				text-align: left;
67
			}  @else if $carrousel-text-position == "top-right" {
68
				align-items: flex-start;
69
				justify-content: flex-end;
70
				text-align: right;
67 71
			}
68 72
			div.carrousel-item-content {
69 73
				@if $carrousel-navigation == "visible" {
70
-