mirror-cockpit-project-cockpit/pkg/shell/credentials.scss
Freya Gustavsson 47eb710aca shell: Use isActionCell for SSH modal switch
Previously a hack was used to make the cell `inline-size: 0`. Though
that worked it had some unintended side-effects which made Cockpit
Client and some other WebKit clients render the other cells incorrectly
as there is expandable rows.

Adding in `isActionCell: true` to the cell that contains the switch
fixes the issue. With that we can also remove the CSS rule that was
meant to fix this, but ultimately caused the weird spacing on Cockpit
Client et. al.

Fixes: https://github.com/cockpit-project/cockpit/issues/23053
Signed-off-by: Freya Gustavsson <freya@venefilyn.se>
2026-07-14 13:01:26 +02:00

19 lines
531 B
SCSS

/* SPDX-License-Identifier: LGPL-2.1-or-later */
#credentials-modal {
// SSH keys don't have spaces, allow these two wrap
.pf-v6-c-clipboard-copy__expandable-content {
overflow-wrap: anywhere;
}
.pf-v6-c-table__toggle + th {
font-weight: var(--pf-t--global--font--weight--heading--bold);
}
// Remove excess padding from compact tables toggles
// And adjust the padding to left align the toggles with the card header
.pf-v6-c-table {
.pf-v6-c-table__toggle {
padding-inline-start: 0;
}
}
}