Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
U
uw_wcms_gesso
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
WCMS
uw_wcms_gesso
Commits
f7dffcfe
Commit
f7dffcfe
authored
Oct 06, 2020
by
Eric Bremner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ISTWCMS-4124: adding view on source to Twitter
parent
26565902
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
css/styles.css
css/styles.css
+4
-0
source/_patterns/04-components/twitter/_twitter.scss
source/_patterns/04-components/twitter/_twitter.scss
+5
-0
source/_patterns/04-components/twitter/twitter.twig
source/_patterns/04-components/twitter/twitter.twig
+4
-0
No files found.
css/styles.css
View file @
f7dffcfe
...
...
@@ -5240,6 +5240,10 @@ html:not(.js) .uw-tabcontent[role="tabpanel"][hidden] {
margin-right
:
auto
;
text-align
:
center
;
}
.uw-twitter__view-on-source
{
padding
:
1rem
0
;
text-align
:
center
;
}
.views-element-container
{
margin-left
:
auto
;
margin-right
:
auto
;
...
...
source/_patterns/04-components/twitter/_twitter.scss
View file @
f7dffcfe
...
...
@@ -4,4 +4,9 @@
margin-right
:
auto
;
text-align
:
center
;
}
&
__view-on-source
{
padding
:
1rem
0
;
text-align
:
center
;
}
}
source/_patterns/04-components/twitter/twitter.twig
View file @
f7dffcfe
...
...
@@ -35,5 +35,9 @@
<script
src=
"https://platform.twitter.com/widgets.js"
></script>
<div
class=
"uw-twitter__view-on-source"
>
View on
<a
href=
"
{{
twitter.href
}}
"
>
Twitter
</a>
</div>
</div>
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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