jgm / jgm/gitit

Move discard button to the right

Open
#474 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
2.3k
Forks
231
PR merge metrics
No merged PRs in 30d

Description

I started to use gitit just recently (it's awesome!), but the one thing that almost got me several times was that, when editing, I almost clicked on discard... by mistake. Several times. So, in line with the principle suggested [here](http://blog.codinghorror.com/the-opposite-of-fitts-law/), I decided to move that button to the the right. The way I did it was by adding the following on `static/css/custom.css`:

``` css
/* put Discard button to the right, to avoid hitting it by mistake */
input[type="submit"]#cancel {
padding: 1px;
float: right;
}
```

But I thought it might important enough to suggest that it should be made the default layout?

Anyway, those are my two cents. And have I mentioned gitit is awesome? :-)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.