Add feature for gap sizes#15
Merged
Merged
Conversation
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.