Skip to content

Commit

Permalink
Fix layout of the topic edit.
Browse files Browse the repository at this point in the history
- made right-hand column wider so that it has enough space for "Done" button.

- fixed issue that jQuery's .show() breaks functionality of the Semantic UI Grid.
  • Loading branch information
kzmi committed Sep 21, 2018
1 parent dab02b8 commit 3569777
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/js/index.js
Expand Up @@ -2431,7 +2431,7 @@ function initTopicbar() {

mgrBtn.click(function() {
viewDiv.hide();
editDiv.show();
editDiv.css('display', 'flex'); // show Semantic UI Grid
});

function getPrompts() {
Expand Down
2 changes: 1 addition & 1 deletion templates/repo/home.tmpl
Expand Up @@ -40,7 +40,7 @@
</div>
</div>
</div>
<div class="one wide column">
<div class="two wide column">
<a class="ui compact button primary" href="javascript:;" id="save_topic"
data-link="{{.RepoLink}}/topics">{{.i18n.Tr "repo.topic.done"}}</a>
</div>
Expand Down

0 comments on commit 3569777

Please sign in to comment.