tangled
alpha
login
or
join now
ansxor.ca
/
markup2
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
1
pulls
pipelines
oh no
12Me21
3 years ago
1e7ccbe2
2d954c34
+2
-4
2 changed files
expand all
collapse all
unified
split
markup.css
render.js
+1
-3
markup.css
···
96
96
max-width: -webkit-fill-available;
97
97
max-width: -moz-available;
98
98
max-width: stretch;
99
99
-
100
100
-
width: auto;
101
99
}
102
100
103
101
/* before loading, assume image will be larger than --image-max-height */
···
105
103
height: var(--T-embed-height);
106
104
min-width: 2em;
107
105
}
108
108
-
.Markup img[data-state="loaded"] {
106
106
+
.Markup img[data-state="loaded"], .Markup img[data-state="size"] {
109
107
height: auto;
110
108
}
111
109
+1
-1
render.js
···
192
192
if (alt!=null) e.alt = e.title = alt
193
193
if (width) {
194
194
e.width = width
195
195
-
e.style.setProperty('--width', height)
195
195
+
e.style.setProperty('--width', width)
196
196
}
197
197
if (height) {
198
198
e.height = height