aboutsummaryrefslogtreecommitdiff
path: root/public/less
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-06-06 15:41:27 -0400
committerUnknwon <u@gogs.io>2017-06-06 15:41:27 -0400
commita851b77ac9e5d95f71fb0e98cd134cd0e692f782 (patch)
tree3ed238d30773b379218e4259dcf49ca9180823e1 /public/less
parente9a2b72ddb0a5d069e72aceabb36337e5b9e9dcd (diff)
markup: able to display image from IPython notebook (#4366)
Diffstat (limited to 'public/less')
-rw-r--r--public/less/_repository.less6
1 files changed, 5 insertions, 1 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less
index 5260af61..fd48fd39 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -324,6 +324,10 @@
&.nb-heading-cell {
margin-top: 0.5em;
}
+
+ img {
+ max-width: 100%;
+ }
}
.nb-raw-cell {
@@ -370,7 +374,7 @@
font-size: 14px;
}
img {
- max-width: 100%;
+ max-width: 100%;
}
table {
border: 1px solid #000;