Skip to content

Commit

Permalink
fix: update configurator styles to support the latest mdpopups
Browse files Browse the repository at this point in the history
  • Loading branch information
equinusocio committed Aug 11, 2016
1 parent 1d703ec commit ac03484
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions mt_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,38 +125,39 @@
{% else %}
.mdpopups {
div.mt-config {
display: block;
padding: 16px;
}
.mdpopups h1,
.mdpopups h2,
.mdpopups h3,
.mdpopups h4,
.mdpopups h5,
.mdpopups h6 {
.mt-config h1,
.mt-config h2,
.mt-config h3,
.mt-config h4,
.mt-config h5,
.mt-config h6 {
margin-top: 0;
padding-top: 0;
padding-bottom: 20px;
}
.mdpopups p {
.mt-config p {
margin: 0;
padding: 0;
text-decoration: none;
}
.mdpopups a {
.mt-config a {
display: block;
padding: 0.25em 0;
text-decoration: none;
}
.mdpopups .mt-config.ui-control {
.mt-config .ui-control {
text-decoration: none;
}
.mdpopups .mt-config.ui-backlink {
.mt-config .ui-backlink {
{{'.foreground'|css}}
text-decoration: none;
padding: 4px 0;
Expand Down Expand Up @@ -290,6 +291,7 @@ def show_popup(self, menu):
self.view,
''.join(popup),
css=STYLE,
wrapper_class='mt-config',
on_navigate=self.on_navigate,
max_width=800,
max_height=400
Expand Down

0 comments on commit ac03484

Please sign in to comment.