mirror of
https://github.com/gchq/CyberChef.git
synced 2024-09-29 15:01:31 +02:00
Compile message no longer overflows on small screens
This commit is contained in:
parent
2507362741
commit
f052ed9b00
@ -533,7 +533,9 @@ class App {
|
|||||||
compileInfo += " - " + window.compileMessage;
|
compileInfo += " - " + window.compileMessage;
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById("notice").innerHTML = compileInfo;
|
const notice = document.getElementById("notice");
|
||||||
|
notice.innerHTML = compileInfo;
|
||||||
|
notice.setAttribute("title", Utils.stripHtmlTags(window.compileMessage));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -155,7 +155,7 @@
|
|||||||
<a href="cyberchef.htm" download>Download CyberChef <i class="material-icons">file_download</i></a>
|
<a href="cyberchef.htm" download>Download CyberChef <i class="material-icons">file_download</i></a>
|
||||||
<% } %>
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
<div class="col" style="text-align: center;">
|
<div class="col-md-6" id="notice-wrapper">
|
||||||
<span id="notice">
|
<span id="notice">
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
// Must be text/javascript rather than application/javascript otherwise IE won't recognise it...
|
// Must be text/javascript rather than application/javascript otherwise IE won't recognise it...
|
||||||
|
@ -21,3 +21,10 @@
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#notice-wrapper {
|
||||||
|
text-align: center;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user