Commit 439a5e5f authored by alexandre's avatar alexandre

Merge branch 'master' of gitlab.constantvzw.org:osp/work.w

parents 192e4b5f 21adc213
...@@ -512,6 +512,7 @@ section.hidden { display: none; } ...@@ -512,6 +512,7 @@ section.hidden { display: none; }
#score h1 { #score h1 {
font-size: 2em; font-size: 2em;
line-height: 1em; line-height: 1em;
min-height: 1.5em;
flex: 1; flex: 1;
overflow: hidden; overflow: hidden;
...@@ -738,7 +739,7 @@ section.hidden { display: none; } ...@@ -738,7 +739,7 @@ section.hidden { display: none; }
========================================================================== */ ========================================================================== */
ol { position: relative; } ol { position: relative; }
/* .sublines */ #axis-wrapper { --row-color: var(--color-01); --row-color-next: var(--color-02); --indent: 0; --form-indent: 40px; } /* .sublines */ #axis-wrapper { --row-color: var(--color-01); --row-color-next: var(--color-02); --indent: 0px; --form-indent: 40px; }
/* .sublines */ .sublines { --row-color: var(--color-02); --row-color-next: var(--color-03); --indent: calc(1 * var(--row-indent)); --form-indent: calc(-1 * var(--row-indent)); } /* .sublines */ .sublines { --row-color: var(--color-02); --row-color-next: var(--color-03); --indent: calc(1 * var(--row-indent)); --form-indent: calc(-1 * var(--row-indent)); }
/* .sublines */ .sublines .sublines { --row-color: var(--color-03); --row-color-next: var(--color-04); --indent: calc(2 * var(--row-indent)); --form-indent: calc(-2 * var(--row-indent)); } /* .sublines */ .sublines .sublines { --row-color: var(--color-03); --row-color-next: var(--color-04); --indent: calc(2 * var(--row-indent)); --form-indent: calc(-2 * var(--row-indent)); }
/* .sublines */ .sublines .sublines .sublines { --row-color: var(--color-04); --row-color-next: var(--color-05); --indent: calc(3 * var(--row-indent)); --form-indent: calc(-3 * var(--row-indent)); } /* .sublines */ .sublines .sublines .sublines { --row-color: var(--color-04); --row-color-next: var(--color-05); --indent: calc(3 * var(--row-indent)); --form-indent: calc(-3 * var(--row-indent)); }
...@@ -1350,12 +1351,12 @@ li + li .alt-symbol { display: none; } ...@@ -1350,12 +1351,12 @@ li + li .alt-symbol { display: none; }
} }
.attachment--image--full img { .attachment--image--full img {
max-width: calc(75vw - var(--indent)); max-width: calc(70vw - var(--indent));
max-height: 80vh; max-height: 80vh;
} }
.attachment--pdf--full iframe { .attachment--pdf--full iframe {
width: calc(75vw - var(--indent)); width: calc(70vw - var(--indent));
height: 80vh; height: 80vh;
} }
......
...@@ -647,7 +647,7 @@ window.W = window.W || {}; ...@@ -647,7 +647,7 @@ window.W = window.W || {};
if (/^data:image\//.test(data)) { if (/^data:image\//.test(data)) {
return new W.AttachmentImage({ model: attachment }) return new W.AttachmentImage({ model: attachment })
} else if ('/data:application\/pdf') { } else if (/^data:application\/pdf/ .test(data)) {
return new W.AttachmentPDF({ model: attachment }) return new W.AttachmentPDF({ model: attachment })
} else if (/^data:audio\//.test(data)) { } else if (/^data:audio\//.test(data)) {
return new W.AttachmentAudio({ model: attachment }) return new W.AttachmentAudio({ model: attachment })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment