Merge branch '81-integrate-styleguide' into 'master'
Fix main menu to top of page See merge request agaric/patternlibrary!1
This commit is contained in:
commit
e2963d9c99
1 changed files with 21 additions and 0 deletions
21
agaric/templates/layout/region--primary-menu.html.twig
Normal file
21
agaric/templates/layout/region--primary-menu.html.twig
Normal file
|
@ -0,0 +1,21 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation to display a region.
|
||||
*
|
||||
* Available variables:
|
||||
* - content: The content for this region, typically blocks.
|
||||
* - attributes: HTML attributes for the region <div>.
|
||||
* - region: The name of the region variable as defined in the theme's
|
||||
* .info.yml file.
|
||||
*
|
||||
* @see template_preprocess_region()
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
{% if content %}
|
||||
<div class="is-fixed">
|
||||
{{ content }}
|
||||
</div>
|
||||
{% endif %}
|
Loading…
Reference in a new issue