MDL-40975 Theme: Remove activity padding properly when editor displayed for RTL
This commit is contained in:
@@ -315,7 +315,10 @@ span.editinstructions {
|
||||
.dir-rtl span.editinstructions { left: auto; right: 32px;}
|
||||
input.titleeditor { vertical-align: text-bottom; }
|
||||
.editing .course-content .section .activity.editor_displayed .activityinstance {
|
||||
padding: initial;
|
||||
padding-right: initial;
|
||||
}
|
||||
.dir-rtl.editing .course-content .section .activity.editor_displayed .activityinstance {
|
||||
padding-left: initial;
|
||||
}
|
||||
|
||||
/* Course drag and drop upload styles */
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
display: none;
|
||||
}
|
||||
div.activityinstance {
|
||||
padding: initial;
|
||||
padding-right: initial;
|
||||
|
||||
input {
|
||||
margin-bottom: initial;
|
||||
@@ -114,12 +114,6 @@
|
||||
right: 100%;
|
||||
}
|
||||
|
||||
.editing_move {
|
||||
/* Move the move icon to the start of the line */
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.mod-indent {
|
||||
/**
|
||||
* Add appropriate padding such that nothing overlaps the
|
||||
@@ -137,6 +131,22 @@
|
||||
}
|
||||
}
|
||||
|
||||
.dir-rtl.editing .section {
|
||||
.activity {
|
||||
.editing_move {
|
||||
/* Move the move icon to the start of the line */
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
&.editor_displayed {
|
||||
div.activityinstance {
|
||||
padding-left: initial;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.activity img.activityicon {
|
||||
margin-right: 6px;
|
||||
vertical-align: text-bottom;
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user