Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
2dcee8e2
Commit
2dcee8e2
authored
1 year ago
by
rickparrish
Browse files
Options
Downloads
Patches
Plain Diff
Fix grid layout
parent
25b0a9a7
No related branches found
No related tags found
1 merge request
!375
Fix grid layout
Pipeline
#4984
passed
1 year ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
webv4/pages/More/001-nodespy.xjs
+6
-0
6 additions, 0 deletions
webv4/pages/More/001-nodespy.xjs
webv4/root/js/nodespy.js
+6
-0
6 additions, 0 deletions
webv4/root/js/nodespy.js
with
12 additions
and
0 deletions
webv4/pages/More/001-nodespy.xjs
+
6
−
0
View file @
2dcee8e2
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
webv4/root/js/nodespy.js
+
6
−
0
View file @
2dcee8e2
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment