Skip to content

Commit 6dfe420

Browse files
author
p01
committed
No min-width for images, only a max-width:100%;
minor style tidy
1 parent 975d44d commit 6dfe420

File tree

1 file changed

+2
-31
lines changed

1 file changed

+2
-31
lines changed

src/resource-manager/resource_style.css

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -132,18 +132,6 @@
132132
white-space: pre;
133133
}
134134

135-
.resource-image
136-
{
137-
display: block;
138-
min-width:64px;
139-
min-height:64px;
140-
max-height: 100%;
141-
max-width: 100%;
142-
margin: 10px auto;
143-
background: #fff url("../ui-images/grid_checkers_black.png");
144-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
145-
}
146-
147135
.font-preview
148136
{
149137
font-size: 400%;
@@ -157,20 +145,6 @@
157145
}
158146

159147

160-
/*
161-
.expand-collapse > ul
162-
{
163-
margin:0;
164-
padding:0;
165-
}
166-
.expand-collapse > ul > li
167-
{
168-
white-space:nowrap;
169-
padding:0;
170-
margin:0 0 0 16px;
171-
line-height:17px;
172-
}
173-
*/
174148
.resource-tree-expand-collapse.close > ul
175149
{
176150
display:none;
@@ -267,11 +241,8 @@ a.external:hover
267241
{
268242
object-fit:contain;
269243
-o-object-fit:contain;
270-
min-width:64px;
271-
min-height:64px;
272-
max-width:300px;
273-
max-height:300px;
274-
margin:1em;
244+
max-width:100%;
245+
max-height:100%;
275246
box-sizing:border-box;
276247
background:url("../ui-images/grid_checkers_black.png") top left repeat;
277248
box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);

0 commit comments

Comments
 (0)