Skip to content

Commit

Permalink
Fix oppia#5973: Fixed the changed space when the text is added just b…
Browse files Browse the repository at this point in the history
…elow the image (oppia#5996)

* Fixed

* Correction

* Revert changes in oppia.css

* Final changes

* Final change
  • Loading branch information
mighty-phoenix authored and bansalnitish committed Dec 19, 2018
1 parent 85057a7 commit 05ed54f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion core/templates/dev/head/components/CkEditorRteDirective.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ oppia.directive('ckEditorRte', [
} else {
return '<div type="oppia-noninteractive-' + p3 + '"' +
'class="oppia-rte-component-container">' + match +
'<div class="oppia-rte-component-overlay"></div></div>';
'</div>';
}
});
};
Expand Down
4 changes: 0 additions & 4 deletions core/templates/dev/head/css/oppia.css
Original file line number Diff line number Diff line change
Expand Up @@ -1494,8 +1494,6 @@ pre.oppia-pre-wrapped-text {

.oppia-rte-editor > p {
line-height: 1.846;
margin-bottom: 18px;
margin-top: 18px;
}
.oppia-info-card-content p {
display: block;
Expand All @@ -1507,8 +1505,6 @@ pre.oppia-pre-wrapped-text {
}
.oppia-rte-content > div > p {
line-height: 1.846;
margin-bottom: 18px;
margin-top: 18px;
}

/* Add inter-paragraph spacing to the ng-joyride tutorial contents. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,6 @@
*/
.rte-viewer > p {
line-height: 1.846;
margin-bottom: 18px;
margin-top: 18px;
}
.rte-viewer > p:first-child {
margin-top: 0px;
Expand Down

0 comments on commit 05ed54f

Please sign in to comment.