UX: css for Instagram onebox

This commit is contained in:
Arpit Jalan 2018-03-18 21:22:05 +05:30
parent c1bf707e7d
commit 3e32ab1523
4 changed files with 22 additions and 3 deletions

View File

@ -35,7 +35,7 @@ gem 'redis-namespace'
gem 'active_model_serializers', '~> 0.8.3'
gem 'onebox', '1.8.42'
gem 'onebox', '1.8.43'
gem 'http_accept_language', '~>2.0.5', require: false

View File

@ -229,7 +229,7 @@ GEM
omniauth-twitter (1.3.0)
omniauth-oauth (~> 1.1)
rack
onebox (1.8.42)
onebox (1.8.43)
htmlentities (~> 4.3)
moneta (~> 1.0)
multi_json (~> 1.11)
@ -464,7 +464,7 @@ DEPENDENCIES
omniauth-oauth2
omniauth-openid
omniauth-twitter
onebox (= 1.8.42)
onebox (= 1.8.43)
openid-redis-store
pg (~> 0.21.0)
pry-nav

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -111,6 +111,7 @@ aside.onebox {
@include onebox-favicon('githubissue', 'github');
@include onebox-favicon('githubgist', 'github');
@include onebox-favicon('amazon', 'amazon');
@include onebox-favicon('instagram', 'instagram');
@include onebox-favicon('googledocs', 'google_branding/logo_drive_48px');
@ -222,6 +223,18 @@ aside.onebox {
}
}
// instagram fixes
.instagram-images {
display: block;
clear: both;
.instagram-image {
padding: 5px 5px 5px 5px;
max-width: 100%;
max-height: 100%;
float: none;
}
}
}
}
@ -482,6 +495,12 @@ aside.onebox.stackexchange .onebox-body {
}
}
.onebox.instagram p {
span.instagram-description {
color: dark-light-choose($primary-medium, $secondary-medium);
}
}
.onebox.githubcommit {
pre.message {
clear: left;