mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: css for Instagram onebox
This commit is contained in:
parent
c1bf707e7d
commit
3e32ab1523
2
Gemfile
2
Gemfile
@ -35,7 +35,7 @@ gem 'redis-namespace'
|
|||||||
|
|
||||||
gem 'active_model_serializers', '~> 0.8.3'
|
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
|
gem 'http_accept_language', '~>2.0.5', require: false
|
||||||
|
|
||||||
|
@ -229,7 +229,7 @@ GEM
|
|||||||
omniauth-twitter (1.3.0)
|
omniauth-twitter (1.3.0)
|
||||||
omniauth-oauth (~> 1.1)
|
omniauth-oauth (~> 1.1)
|
||||||
rack
|
rack
|
||||||
onebox (1.8.42)
|
onebox (1.8.43)
|
||||||
htmlentities (~> 4.3)
|
htmlentities (~> 4.3)
|
||||||
moneta (~> 1.0)
|
moneta (~> 1.0)
|
||||||
multi_json (~> 1.11)
|
multi_json (~> 1.11)
|
||||||
@ -464,7 +464,7 @@ DEPENDENCIES
|
|||||||
omniauth-oauth2
|
omniauth-oauth2
|
||||||
omniauth-openid
|
omniauth-openid
|
||||||
omniauth-twitter
|
omniauth-twitter
|
||||||
onebox (= 1.8.42)
|
onebox (= 1.8.43)
|
||||||
openid-redis-store
|
openid-redis-store
|
||||||
pg (~> 0.21.0)
|
pg (~> 0.21.0)
|
||||||
pry-nav
|
pry-nav
|
||||||
|
BIN
app/assets/images/favicons/instagram.png
Normal file
BIN
app/assets/images/favicons/instagram.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
@ -111,6 +111,7 @@ aside.onebox {
|
|||||||
@include onebox-favicon('githubissue', 'github');
|
@include onebox-favicon('githubissue', 'github');
|
||||||
@include onebox-favicon('githubgist', 'github');
|
@include onebox-favicon('githubgist', 'github');
|
||||||
@include onebox-favicon('amazon', 'amazon');
|
@include onebox-favicon('amazon', 'amazon');
|
||||||
|
@include onebox-favicon('instagram', 'instagram');
|
||||||
@include onebox-favicon('googledocs', 'google_branding/logo_drive_48px');
|
@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 {
|
.onebox.githubcommit {
|
||||||
pre.message {
|
pre.message {
|
||||||
clear: left;
|
clear: left;
|
||||||
|
Loading…
Reference in New Issue
Block a user