Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_wcms_gesso
Commits
94ddf3b8
Commit
94ddf3b8
authored
Sep 20, 2021
by
Eric Bremner
Committed by
Kevin Paxman
Sep 20, 2021
Browse files
ISTWCMS-5090: updating card to use separate position element
parent
30204270
Changes
4
Hide whitespace changes
Inline
Side-by-side
css/styles.min.css
View file @
94ddf3b8
This source diff could not be displayed because it is too large. You can
view the blob
instead.
source/_patterns/04-components/card/_card.scss
View file @
94ddf3b8
...
...
@@ -124,6 +124,12 @@ $card-padding: rem(gesso-spacing(sm)) !default;
}
}
}
.card__position
{
color
:
$uw-black
;
font-size
:
1
.26562rem
;
}
// footer
.card__footer
{
@include
uw-no-breakout
();
...
...
source/_patterns/04-components/card/card--node/card--node.twig
View file @
94ddf3b8
...
...
@@ -38,5 +38,6 @@
'address'
:
node.address
,
'map_link'
:
node.map_link
,
'catalog_tags'
:
node.catalog_tags
,
'position'
:
node.position
,
}
%}
</div>
source/_patterns/04-components/card/card.twig
View file @
94ddf3b8
...
...
@@ -36,10 +36,15 @@
</a>
{%
endif
%}
</h
{{
header_level
}}
>
{%
if
sub_title
%}
<span
class=
"sub-title"
>
{{
sub_title
}}
</span>
{%
endif
%}
{%
endif
%}
{%
if
sub_title
%}
<span
class=
"sub-title"
>
{{
sub_title
}}
</span>
{%
if
position
%}
<div
class=
"card__position"
>
{{
position
}}
</div>
{%
endif
%}
{%
if
author
%}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment