update onebox gem

This commit is contained in:
Arpit Jalan 2016-07-13 21:54:49 +05:30
parent 24b83d1c57
commit c7bbc1cebf
2 changed files with 10 additions and 4 deletions

View file

@ -218,7 +218,7 @@ GEM
omniauth-twitter (1.2.1) omniauth-twitter (1.2.1)
json (~> 1.3) json (~> 1.3)
omniauth-oauth (~> 1.1) omniauth-oauth (~> 1.1)
onebox (1.5.42) onebox (1.5.43)
htmlentities (~> 4.3.4) htmlentities (~> 4.3.4)
moneta (~> 0.8) moneta (~> 0.8)
multi_json (~> 1.11) multi_json (~> 1.11)

View file

@ -330,11 +330,17 @@ aside.onebox.twitterstatus .onebox-body {
} }
// resize stackexchange onebox image // resize stackexchange onebox image
aside.onebox.stackexchange .onebox-body img { aside.onebox.stackexchange .onebox-body {
img {
max-height: 60%; max-height: 60%;
max-width: 10%; max-width: 10%;
} }
.tags {
color: gray;
}
}
.onebox-metadata { .onebox-metadata {
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)); color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
} }