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;
|
||||
}
|
||||
|
||||
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>
|
||||
<% } %>
|
||||
</div>
|
||||
<div class="col" style="text-align: center;">
|
||||
<div class="col-md-6" id="notice-wrapper">
|
||||
<span id="notice">
|
||||
<script type="text/javascript">
|
||||
// Must be text/javascript rather than application/javascript otherwise IE won't recognise it...
|
||||
|
@ -21,3 +21,10 @@
|
||||
vertical-align: middle;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
#notice-wrapper {
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user