<commit_before>#factlink-containment-wrapper {
  @extend %frame-styles;
  visibility: hidden;

  > #factlink-iframe {
    @extend %frame-styles;
    display: none;
    visibility: hidden;
  }

  > .factlink-control-frame {
    @extend %frame-styles;
    @extend %fadable-control;
    z-index: $max-z-index - 1;
  }

  > #factlink-sidebar-frame {
    @extend %frame-styles;

    position: fixed;
    width: 100%;
    height: 100%;
    z-index: $max-z-index;
    visibility: visible;

    // iOS Safari seems to have trouble with visibility:hidden iframe.
    // For this iframe using display works fine, as animations and such are
    // done inside the iframe.
    // This also helps when developing, as the inspector inspects invisible
    // elements also, which is very annoying.
    display: none;

    &.factlink-sidebar-frame-visible {
      display: block;
    }
  }
}<commit_msg>Back to the offset trick for the sidebar iframe<commit_after>#factlink-containment-wrapper {
  @extend %frame-styles;
  visibility: hidden;

  > #factlink-iframe {
    @extend %frame-styles;
    display: none;
    visibility: hidden;
  }

  > .factlink-control-frame {
    @extend %frame-styles;
    @extend %fadable-control;
    z-index: $max-z-index - 1;
  }

  > #factlink-sidebar-frame {
    @extend %frame-styles;

    position: fixed;
    width: 100%;
    height: 100%;
    z-index: $max-z-index;
    visibility: visible;

    // iOS Safari seems to have trouble with visibility:hidden iframe.
    // And Firefox has trouble with display:none iframe (http://jsfiddle.net/UzZ28/3/)
    // Therefore, just move the iframe far, far away.
    // This also helps when developing, as the inspector inspects invisible
    // elements also, which is very annoying.
    left: -100000px;
    top: -100000px;

    &.factlink-sidebar-frame-visible {
      left: 0;
      top: 0;
    }
  }
}
{'fraction_non_alphanumeric': 0.11811865312667023, 'fraction_numerical': 0.016568679850347406, 'mean_word_length': 2.6349514563106795, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5778644', 'n_tokens_mistral': 645, 'n_tokens_neox': 586, 'n_words': 170}