Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

RIFT container queries

4 sites No security coverage
View on drupal.org

This module enables responsive images in Drupal that adapt to the size of their containing element, rather than just the viewport. It uses modern CSS container queries for a more context-aware and modular approach, ideal for component-based design systems. This allows images to fluidly adjust within grids, cards, or other layout regions without requiring custom JavaScript.

RIFT container queries (rift_cq)

RIFT container queries brings the power of modern CSS container queries to responsive images in Drupal.

This lightweight module allows site builders and themers to define image styles that respond to the size of their container โ€” not just the viewport. It is especially useful in component-based design systems where images must adapt fluidly within cards, grids, or flexible layout regions.

Unlike traditional responsive image techniques that rely solely on media queries and viewport breakpoints, rift_cq utilizes container queries for a more context-aware, modular approach.

Key Features

  • Define and apply responsive images based on the size of their container
  • Seamlessly integrates with the RIFT module
  • Leverages CSS @container rules without custom JavaScript
  • Ideal for Layout Builder and design systems that embrace component-based theming

Dependencies & Status

This module is an extension of the RIFT module and relies on its underlying functionality.

Specifically, rift_cq depends on enhancements introduced in the following RIFT issue:

๐Ÿ”— https://www.drupal.org/project/rift/issues/3533700

Please ensure that the patch or fix from that issue is applied until it is merged into the RIFT module.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jul 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.x-dev Dev 9โ€“11 Jul 2, 2025