Sha256: 4a43b768e812956c3a5a1d3b04e0fb2d8487950907f721df1b590bf343d160ea
Contents?: true
Size: 1.03 KB
Versions: 17
Compression:
Stored size: 1.03 KB
Contents
@use "katalyst/content/editor"; [data-controller="content--editor--container"] { --heading--h4: 1rem; } [data-controller="content--editor--table"] { .content--editor--table-editor { // ensure the table editor is easy to target when empty &:not(:has(table)) { min-height: 4rem !important; } // tight wrap the table editor around the table and use table borders &:has(table) { border: none !important; padding: 0 !important; } table { width: 100%; } table, th, td { border: 2px solid black; } } // restore webkit spinners, hidden by govuk // these are not ideal, but spinners are much easier to work with for this // use case than the default number input, because we submit the form on // change to implement the live preview input[type="number"]::-webkit-inner-spin-button { position: relative; right: -1px; margin-top: -2px; margin-bottom: -4px; -webkit-appearance: inner-spin-button !important; opacity: 1 !important; } }
Version data entries
17 entries across 17 versions & 1 rubygems