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