Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bootstrap_barrio
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
bootstrap_barrio
Commits
0d46a483
Commit
0d46a483
authored
3 years ago
by
Muhammad Qandeel Aslam
Committed by
alberto_sv
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3238496
by Qandeel: Code in Suggestion Menu Alter does not work anymore
parent
b1db1a3b
No related branches found
No related tags found
2 merge requests
!79
Resolve #3204900 "Search submit button"
,
!51
Issue #3357879: node-preview background beeing overwritten
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bootstrap_barrio.theme
+1
-0
1 addition, 0 deletions
bootstrap_barrio.theme
with
1 addition
and
0 deletions
bootstrap_barrio.theme
+
1
−
0
View file @
0d46a483
...
...
@@ -395,6 +395,7 @@ function bootstrap_barrio_preprocess_region(&$variables) {
function
bootstrap_barrio_preprocess_block
(
&
$variables
)
{
if
(
$variables
[
'base_plugin_id'
]
==
'system_menu_block'
&&
isset
(
$variables
[
'attributes'
][
'id'
]))
{
$variables
[
'content'
][
'#attributes'
][
'id'
]
=
$variables
[
'attributes'
][
'id'
];
$variables
[
'content'
][
'#attributes'
][
'block'
]
=
$variables
[
'attributes'
][
'id'
];
}
// Add a clearfix class to system branding blocks.
if
(
$variables
[
'plugin_id'
]
==
'system_branding_block'
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment