Sha256: 373d2531f469d6c254041e89be0895d7b2a578ea59af75da7de4777f07802cc6

Contents?: true

Size: 771 Bytes

Versions: 1

Compression:

Stored size: 771 Bytes

Contents

// Show the arrow on summary elements in Firefox - _details.scss
// The current Firefox implementation uses display: list-item to show the arrow marker.
// We want to use display: inline-block to shrink-wrap the focus outline around the text.
// This will turn off inline-block for Firefox that’s not using the polyfill only.
// @-moz-document is going away: https://bugzilla.mozilla.org/show_bug.cgi?id=1035091 .
// Hopefully they’ll fix <summary> first but if not it’ll fall back to no arrow:
// https://bugzilla.mozilla.org/show_bug.cgi?id=1270163
// If Mozilla add display: revert and remove list-item from summary then this will fall through.
@-moz-document regexp('.*') {
  details summary:not([tabindex]) {
    display: list-item;
    display: revert;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
govuk_elements_rails-1.2.0 vendor/assets/stylesheets/elements/_shame.scss