Fixed widget styling
This commit is contained in:
parent
4d090d5e4e
commit
3c4e53d172
2 changed files with 7 additions and 4 deletions
|
@ -55,15 +55,18 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#twitter-feed {
|
#twitter-feed {
|
||||||
height: 75vh;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
.container {
|
.container {
|
||||||
margin-top: 30px;
|
margin-top: 25px;
|
||||||
|
margin-bottom: 25px;
|
||||||
|
}
|
||||||
|
.twitter-timeline {
|
||||||
|
height: 70vh !important; // Because twitter uses inline styles.
|
||||||
}
|
}
|
||||||
.twitter-icon {
|
.twitter-icon {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 175px;
|
font-size: 175px;
|
||||||
height: 80vh;
|
height: 70vh;
|
||||||
position: relative;
|
position: relative;
|
||||||
.icon {
|
.icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-6 col-xs-12 feed">
|
<div class="col-sm-6 col-xs-12 feed">
|
||||||
<p><a class="twitter-timeline" data-dnt="true" href="https://twitter.com/RealOrangeOne" data-widget-id="600774030069760003">Tweets by @RealOrangeOne</a></p>
|
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/RealOrangeOne" data-widget-id="600774030069760003">Tweets by @RealOrangeOne</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6 twitter-icon hidden-xs">
|
<div class="col-sm-6 twitter-icon hidden-xs">
|
||||||
<a href="https://twitter.com/RealOrangeOne" class="no-color-change">
|
<a href="https://twitter.com/RealOrangeOne" class="no-color-change">
|
||||||
|
|
Reference in a new issue