Skip to content

Commit

Permalink
Fix button switchers style. (joomla#70)
Browse files Browse the repository at this point in the history
* button

* CS
  • Loading branch information
anuragteapot authored and astridx committed Aug 24, 2018
1 parent 7ad3837 commit 292c1d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@
</div>
<?php if ($this->type == 'file' && !empty($this->source->coreFile)) : ?>
<div class="col-md-6 text-right">
<?php echo $this->form->getInput('show_core'); ?>
<?php echo $this->form->getInput('show_diff'); ?>
<div id="toggle-buttons">
<?php echo $this->form->getInput('show_core'); ?>
<?php echo $this->form->getInput('show_diff'); ?>
</div>
</div>
<?php endif; ?>
</div>
Expand Down
11 changes: 6 additions & 5 deletions build/media/com_templates/css/admin-templates-default.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,17 @@

#jform_show_core {
display: inline;
margin-right: 8em;
}

#jform_show_diff {
display: inline;
margin-right: 5.5em;
margin-left: 3.5em;
}

#toggle-buttons {
margin-right: 5em;
}

.switcher-label-0, .switcher-label-1 {
min-width: 5em;
max-width: 5em;
text-align: left;
white-space: nowrap;
}

0 comments on commit 292c1d1

Please sign in to comment.