Skip to content
Snippets Groups Projects
Commit 1332d96b authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Merge branch 'Ree/nodespy-grid-fix' into 'master'

Fix grid layout

See merge request !375
parents 25b0a9a7 2dcee8e2
No related branches found
No related tags found
1 merge request!375Fix grid layout
......@@ -20,11 +20,17 @@
padding-right: 15px;
padding-left: 15px;
}
.visible-xl-block {
display: none !important;
}
@media (min-width: 1600px) {
.col-xl-6 {
float: left;
width: 50%;
}
.visible-xl-block {
display: block !important;
}
}
</style>
......
......@@ -30,6 +30,12 @@ function create_ftelnet_instances() {
</div>
`);
// Apply a clearfix after every other node div, to ensure the expected grid layout is followed even if some node divs are taller than others
// Addresses https://gitlab.synchro.net/main/sbbs/-/issues/683
if (node % 2 == 0) {
$('#ClientsWrapper').append('<div class="clearfix visible-xl-block"></div>');
}
// And initialize a new fTelnet instance
var Options = new fTelnetOptions();
Options.AllowModernScrollback = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment