diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-07-28 19:24:41 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-07-28 19:24:41 +0300 |
| commit | bcb972553eec07a439376015f5af37f8e884668d (patch) | |
| tree | 77cf241bc1f320204d96bf7abc854ead9835c024 /docs | |
| parent | 858a4b2b7183c5bbc049bbdeb413e6afad45b090 (diff) | |
| download | vyos-documentation-claude/datatables-2x-upgrade.tar.gz vyos-documentation-claude/datatables-2x-upgrade.zip | |
docs: re-target mobile search-input margin at the 2.x sibling DOMclaude/datatables-2x-upgrade
DataTables 1.x nested the search <input> inside its <label>; 2.x renders them
as siblings inside div.dt-search, so the narrow-viewport descendant rule
'label input' no longer matched and the 10px top margin was silently lost
below 576px. Target '.dt-search input' instead. Flagged independently by the
implementation pass and both adversarial reviewers (Codex + agy).
🤖 Generated by [robots](https://vyos.io)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_static/css/tables.css | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/_static/css/tables.css b/docs/_static/css/tables.css index 945e4e45..1a3817d8 100644 --- a/docs/_static/css/tables.css +++ b/docs/_static/css/tables.css @@ -125,10 +125,8 @@ @media screen and (max-width: 575px) { #table-cfgcmd_wrapper, #table-opcmd_wrapper { - & label { - & input { - margin-top: 10px - } + & .dt-search input { + margin-top: 10px; } } } |
