Skip to content

Commit

Permalink
Improve Visual Editor Style images with caption. Fixes #130.
Browse files Browse the repository at this point in the history
  • Loading branch information
raamdev committed Aug 22, 2014
1 parent 1312ab3 commit bce4b00
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions editor-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -338,11 +338,10 @@ img.aligncenter {
}

.wp-caption {
background: #eee;
border: none;
margin-bottom: 1.625em;
background: transparent;
border: 1px solid #ccc;
margin-bottom: 1.5em;
max-width: 96%;
padding: 9px;
}

.wp-caption img {
Expand All @@ -354,13 +353,11 @@ img.aligncenter {

.wp-caption .wp-caption-text,
.wp-caption-dd {
color: #666;
font-family: Georgia, serif !important;
font-size: 12px;
margin: 0 0 0.6em 0 !important;
padding: 0 0 5px 40px;
font-size: 80%;
margin: 0.8075em 0;
position: relative;
text-align: left;
text-align: center;
}

.wp-caption .wp-caption-text:before {
Expand Down

1 comment on commit bce4b00

@raamdev
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #103.

Please sign in to comment.