]> source.dussan.org Git - gitea.git/commit
Fix layout of the topics editing form (#4971)
authorIwasa Kazmi <kzmizzz@gmail.com>
Sat, 29 Sep 2018 06:28:47 +0000 (15:28 +0900)
committerLauris BH <lauris@nix.lv>
Sat, 29 Sep 2018 06:28:47 +0000 (09:28 +0300)
commit67806611923eee071513a74671bc00429c3a89fa
treee6c0a66e7b9c8999dd9dd74cf973dd955c7cb8da
parente6d54d511d43cf2419a8572ca1432ec553df7d35
Fix layout of the topics editing form (#4971)

* 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.

* Improve switching visibility of the topic edit

Changes to support old browsers that doesn't support 'flex' keyword.

- Removed style "display: none" from index.css so that
  the grid can be displayed without specifying new "display" style.

- Added style "display:none" to the grid element in HTML template
  as the initial style.

- In index.js, visibility of the grid element is changed by
  set "display:none" style to the element or removing it from the element.
public/css/index.css
public/js/index.js
public/less/_repository.less
templates/repo/home.tmpl