Commit 13a73a16 authored by Andrew Nicols's avatar Andrew Nicols
Browse files

MDL-40975 Theme: Remove activity padding properly when editor displayed for RTL

parent 5609c632
......@@ -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 suppressed by a .gitattributes entry or the file's encoding is unsupported.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment