lucca-front icon indicating copy to clipboard operation
lucca-front copied to clipboard

Responsive : add shortcut for queries + add outside option

Open vvalentin-lucca opened this issue 8 months ago • 6 comments

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 avatar Jun 14 '24 08:06 vvalentin-lucca