Skip to content

Add feature for gap sizes#15

Merged
stefansl merged 8 commits into
mainfrom
feature-gapsizes
Nov 5, 2024
Merged

Add feature for gap sizes#15
stefansl merged 8 commits into
mainfrom
feature-gapsizes

Conversation

@stefansl
Copy link
Copy Markdown
Member

@stefansl stefansl commented Nov 4, 2024

No description provided.

Updated the grid configuration to include column gap settings for mobile, tablet, and desktop views. This change adds new options in the backend and corresponding CSS classes to manage these gaps. Updated language files to support new column gap labels and options.
This commit introduces the 'gap_0' option to the cp_gap_mobile, cp_gap_tablet, and cp_gap_desktop fields. This change ensures a consistent set of gap options across different devices, providing more flexible layout configurations.
@stefansl stefansl self-assigned this Nov 4, 2024
@stefansl stefansl added the enhancement New feature or request label Nov 4, 2024
Added default empty values for 'cp_gap_mobile', 'cp_gap_tablet', and 'cp_gap_desktop' fields in tl_content.php. This ensures that these select fields have a default state, avoiding potential issues with uninitialized values.
Added gap information to the grid configuration display in the `getConfigInfo` method. Now, the grid gaps for mobile, tablet, and desktop are shown alongside their corresponding grid options.
Replaced the inline gap option formatting logic with a dedicated private method called `formatGapOption`. This enhances readability and maintains consistency in the `getConfigInfo` method by abstracting the gap option formatting functionality.
Added @author tags for Martin Auswöger and Jannik Nölke in several files. Also corrected the `getBundles` method signature to return an array.
@stefansl stefansl merged commit efa83ef into main Nov 5, 2024
@stefansl stefansl deleted the feature-gapsizes branch November 5, 2024 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant