summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-03 09:52:17 -0500
committerUnknwon <u@gogs.io>2015-11-03 09:52:17 -0500
commit0af035c37e8b561662c93b163b3294b91be6ffac (patch)
treed985f7b5c5e635235c5fc503a3d09cf91d81bd14 /public
parentbc8215721627fcdeaa23c6e3bf625e0c4e5c3407 (diff)
downloadgitea-0af035c37e8b561662c93b163b3294b91be6ffac.tar.gz
gitea-0af035c37e8b561662c93b163b3294b91be6ffac.zip
#1078 not show bin when rename a file
Diffstat (limited to 'public')
-rw-r--r--public/config.codekit18
-rwxr-xr-xpublic/css/gogs.css4
-rw-r--r--public/less/_repository.less6
3 files changed, 19 insertions, 9 deletions
diff --git a/public/config.codekit b/public/config.codekit
index ecec2484c3..59d0c333e6 100644
--- a/public/config.codekit
+++ b/public/config.codekit
@@ -5,7 +5,7 @@
"\/css\/dropzone-4.0.1.css": {
"fileType": 16,
"ignore": 0,
- "ignoreWasSetByUser": 0,
+ "ignoreWasSetByUser": 1,
"inputAbbreviatedPath": "\/css\/dropzone-4.0.1.css",
"outputAbbreviatedPath": "No Output Path",
"outputPathIsOutsideProject": 0,
@@ -74,11 +74,11 @@
"outputPathIsOutsideProject": 0,
"outputPathIsSetByUser": 0
},
- "\/css\/semantic-2.1.3.min.css": {
+ "\/css\/semantic-2.1.5.min.css": {
"fileType": 16,
"ignore": 0,
"ignoreWasSetByUser": 0,
- "inputAbbreviatedPath": "\/css\/semantic-2.1.3.min.css",
+ "inputAbbreviatedPath": "\/css\/semantic-2.1.5.min.css",
"outputAbbreviatedPath": "No Output Path",
"outputPathIsOutsideProject": 0,
"outputPathIsSetByUser": 0
@@ -204,12 +204,12 @@
"outputStyle": 1,
"syntaxCheckerStyle": 1
},
- "\/js\/libs\/clipboard-1.3.1.min.js": {
+ "\/js\/libs\/clipboard-1.5.3.min.js": {
"fileType": 64,
"ignore": 0,
"ignoreWasSetByUser": 0,
- "inputAbbreviatedPath": "\/js\/libs\/clipboard-1.3.1.min.js",
- "outputAbbreviatedPath": "\/js\/libs\/min\/clipboard-1.3.1.min-min.js",
+ "inputAbbreviatedPath": "\/js\/libs\/clipboard-1.5.3.min.js",
+ "outputAbbreviatedPath": "\/js\/libs\/min\/clipboard-1.5.3.min-min.js",
"outputPathIsOutsideProject": 0,
"outputPathIsSetByUser": 0,
"outputStyle": 1,
@@ -281,12 +281,12 @@
"outputPathIsSetByUser": 0,
"processed": 0
},
- "\/js\/semantic-2.1.3.min.js": {
+ "\/js\/semantic-2.1.5.min.js": {
"fileType": 64,
"ignore": 0,
"ignoreWasSetByUser": 0,
- "inputAbbreviatedPath": "\/js\/semantic-2.1.3.min.js",
- "outputAbbreviatedPath": "\/js\/min\/semantic-2.1.3.min-min.js",
+ "inputAbbreviatedPath": "\/js\/semantic-2.1.5.min.js",
+ "outputAbbreviatedPath": "\/js\/min\/semantic-2.1.5.min-min.js",
"outputPathIsOutsideProject": 0,
"outputPathIsSetByUser": 0,
"outputStyle": 1,
diff --git a/public/css/gogs.css b/public/css/gogs.css
index 45223cb414..8448d618fe 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -2288,6 +2288,10 @@ ol.linenums {
.repository .diff-file-box .code-diff tbody tr:hover pre {
background-color: transparent !important;
}
+.repository .diff-file-box.file-content img {
+ max-width: 100%;
+ padding: 5px 5px 0 5px;
+}
.repository .code-view {
overflow: auto;
overflow-x: auto;
diff --git a/public/less/_repository.less b/public/less/_repository.less
index 7fdec66f9f..9035d558e4 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -585,6 +585,12 @@
}
}
}
+ &.file-content {
+ img {
+ max-width: 100%;
+ padding: 5px 5px 0 5px;
+ }
+ }
}
.code-view {
overflow: auto;