<commit_before>import { SettingLimited } from "../../options/Settings";
import { UserScript } from "../../UserScript";
import { UiComponent } from "./UiComponent";

export class LimitedButton extends UiComponent {
  readonly setting: SettingLimited;
  readonly element: JQuery<HTMLElement>;
  readonly checkbox: JQuery<HTMLElement>;

  constructor(
    host: UserScript,
    setting: SettingLimited,
    handler: { onLimitedCheck: () => void; onLimitedUnCheck: () => void }
  ) {
    super(host);
    const element = $(`<div/>`);
<commit_msg>fix(ui): Limited button too wide<commit_after>import { SettingLimited } from "../../options/Settings";
import { UserScript } from "../../UserScript";
import { UiComponent } from "./UiComponent";

export class LimitedButton extends UiComponent {
  readonly setting: SettingLimited;
  readonly element: JQuery<HTMLElement>;
  readonly checkbox: JQuery<HTMLElement>;

  constructor(
    host: UserScript,
    setting: SettingLimited,
    handler: { onLimitedCheck: () => void; onLimitedUnCheck: () => void }
  ) {
    super(host);
    const element = $(`<div/>`).addClass("ks-text-button");

{'fraction_non_alphanumeric': 0.14690265486725665, 'fraction_numerical': 0.0, 'mean_word_length': 4.236111111111111, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '5034543', 'n_tokens_mistral': 325, 'n_tokens_neox': 329, 'n_words': 84}