mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 23:06:16 -04:00
Compile message no longer overflows on small screens
This commit is contained in:
parent
2507362741
commit
f052ed9b00
3 changed files with 11 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue