scss: introduce stretch-to-edge util class (#88600) #554

Open
tjund wants to merge 1 commits from wip/88600-to-the-edge into main
Owner
No description provided.
tjund added 1 commit 2024-03-25 17:13:37 +01:00
gitea/publik-base-theme/pipeline/head This commit looks good Details
2e64ae04a5
scss: introduce stretch-to-edge util class (#88600)
csechet reviewed 2024-04-16 13:50:43 +02:00
@ -153,1 +153,4 @@
}
// Stretch background element to the edge
@mixin stretch-to-edge {
Owner

Pourquoi utiliser un mixin et pas mettre le CSS directement dans la classe .stretch-to-edge ?

Pourquoi utiliser un mixin et pas mettre le CSS directement dans la classe .stretch-to-edge ?
Author
Owner
  • La class permet de l'utiliser directement sur un element ou via @extend
  • le mixin permet de l'utiliser au sein d'un @media, ce qui n'est pas autorisé pour un @extend
* La class permet de l'utiliser directement sur un element ou via @extend * le mixin permet de l'utiliser au sein d'un @media, ce qui n'est pas autorisé pour un @extend
tjund force-pushed wip/88600-to-the-edge from 2e64ae04a5 to edbd13db32 2024-04-17 11:40:56 +02:00 Compare
All checks were successful
gitea/publik-base-theme/pipeline/head This commit looks good
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b wip/88600-to-the-edge main
git pull origin wip/88600-to-the-edge

Step 2:

Merge the changes and update on Gitea.
git checkout main
git merge --no-ff wip/88600-to-the-edge
git push origin main
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: entrouvert/publik-base-theme#554
No description provided.