Commit 62d2afbd by Tim Krones

Increase specificity of CSS rule instead of using !important to shield

zone labels from LMS rules for <p> elements.
parent eee2ccd6
......@@ -242,16 +242,15 @@
border: 2px solid #a5a5a5;
}
.xblock--drag-and-drop .zone p {
.xblock--drag-and-drop .drag-container .target .zone p {
width: 100%;
font-family: Arial;
font-size: 16px;
font-weight: bold;
text-align: center;
text-transform: uppercase;
margin-top: auto; /* Shield zone labels from LMS rules that change margin-bottom for <p> elements */
/* to make sure they are centered vertically */
margin-bottom: auto !important;
margin-top: auto;
margin-bottom: auto;
}
/*** FEEDBACK ***/
......
Markdown is supported
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