Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Responsive : add shortcut for queries + add outside option #2861

Open
wants to merge 3 commits into
base: rc
Choose a base branch
from

Conversation

vvalentin-lucca
Copy link
Contributor

@vvalentin-lucca vvalentin-lucca commented Jun 14, 2024

Description

A few improvements for responsive requests.


$max is replaced by $inverted, which makes more sense for requests with two breakpoints. (No breaking.)
$between is replaced by $inside, which makes more sense with outside. (Only one breaking.)

An additional parameter is added to the mixin that handles one breakpoint: if it is used, the mixin that handles two breakpoints is called. This makes it possible to centralize all requests on the same mixin.

We can now reverse the between query and you can call this configuration with mixins prefixed with outside.


Capture d’écran 2024-06-14 à 10 09 30 copie

Capture d’écran 2024-06-14 à 10 09 30 copie 2

339696345-0e506e21-61cc-4c96-92ee-162f6c85f9d8

Capture d’écran 2024-06-14 à 10 09 30

@vvalentin-lucca vvalentin-lucca added the 🔖✨ Feature New feature (even a very small one) label Jun 14, 2024
@vvalentin-lucca vvalentin-lucca requested a review from a team as a code owner June 14, 2024 08:31
@LuccaIntegration
Copy link

@CCNET-iLucca
Copy link

Tests d'interfaces

@LuccaIntegration
Copy link

@CCNET-iLucca
Copy link

Tests d'interfaces

@LuccaIntegration
Copy link

@CCNET-iLucca
Copy link

Tests d'interfaces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔖✨ Feature New feature (even a very small one)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants