Skip to content

Commit 3569777

Browse files
committed
Fix layout of the topic edit.
- 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.
1 parent dab02b8 commit 3569777

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

public/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2431,7 +2431,7 @@ function initTopicbar() {
24312431

24322432
mgrBtn.click(function() {
24332433
viewDiv.hide();
2434-
editDiv.show();
2434+
editDiv.css('display', 'flex'); // show Semantic UI Grid
24352435
});
24362436

24372437
function getPrompts() {

templates/repo/home.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</div>
4141
</div>
4242
</div>
43-
<div class="one wide column">
43+
<div class="two wide column">
4444
<a class="ui compact button primary" href="javascript:;" id="save_topic"
4545
data-link="{{.RepoLink}}/topics">{{.i18n.Tr "repo.topic.done"}}</a>
4646
</div>

0 commit comments

Comments
 (0)