mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 15:49:55 +08:00
Merge pull request #2533 from awesomerobot/master
fixing onebox image width bug
This commit is contained in:
commit
ff57e704bc
|
@ -329,10 +329,6 @@ a.star {
|
|||
float: left;
|
||||
}
|
||||
|
||||
#main a.star.starred {
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.topic-map {
|
||||
margin: 20px 0 0 0;
|
||||
background: scale-color(scale-color-diff(), $lightness: 40%);
|
||||
|
@ -767,9 +763,9 @@ blockquote > *:last-child {
|
|||
&.highlighted {
|
||||
background-color: scale-color($tertiary, $lightness: 85%);
|
||||
}
|
||||
img:not(.avatar), svg {
|
||||
max-width: 100% !important;
|
||||
height: auto !important;
|
||||
.cooked p img, .cooked p svg {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
.topic-avatar {
|
||||
|
|
Loading…
Reference in New Issue
Block a user