diff options
-rw-r--r-- | models/repo.go | 2 | ||||
-rwxr-xr-x | public/css/gogs.css | 3 | ||||
-rw-r--r-- | public/less/_repository.less | 4 |
3 files changed, 1 insertions, 8 deletions
diff --git a/models/repo.go b/models/repo.go index 772551db..b4ad19c0 100644 --- a/models/repo.go +++ b/models/repo.go @@ -350,7 +350,7 @@ func (repo *Repository) SavePatch(index int64, patch []byte) error { return fmt.Errorf("PatchPath: %v", err) } - os.MkdirAll(path.Dir(patchPath), os.ModePerm) + os.MkdirAll(filepath.Dir(patchPath), os.ModePerm) if err = ioutil.WriteFile(patchPath, patch, 0644); err != nil { return fmt.Errorf("WriteFile: %v", err) } diff --git a/public/css/gogs.css b/public/css/gogs.css index 1fbcfdf1..e6dc435f 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -1863,9 +1863,6 @@ footer .container .links > *:first-child { position: relative; width: 325%; } -.repository.file.list #repo-files-table thead th .ui.sha.label { - font-weight: bold; -} .repository.file.list #repo-files-table thead .ui.avatar { margin-bottom: 5px; } diff --git a/public/less/_repository.less b/public/less/_repository.less index 29d4abbb..a03a0a84 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -152,10 +152,6 @@ position: relative; width: 325%; } - - .ui.sha.label { - font-weight: bold; - } } .ui.avatar { margin-bottom: 5px; |