<commit_before>(ns braid.ui.styles.misc
  (:require [garden.units :refer [rem em px ex]]
            [garden.arithmetic :as m]
            [braid.ui.styles.mixins :as mixins]
            [braid.ui.styles.vars :as vars]))

(def layout
  [:.app
    [:.main

     [:.sidebar
      {:position "absolute"
       :left 0
       :top 0
       :bottom 0
       :width vars/sidebar-width
       :box-sizing "border-box"}]

     [:.page
      {:position "absolute"
       :left vars/sidebar-width
       :top 0
       :bottom 0
       :right 0}]]])

(def emojione
  [:.emojione
   {:font-size "inherit"
    :height (ex 3)
    :width (ex 3.1)
    :min-height (px 20)
    :min-width (px 20)
    :display "inline-block"
    :margin [[(ex -0.2) (em 0.15) (ex 0.2)]]
    :line-height "normal"<commit_msg>make sidebar fixed, so prefs screen don't look so ugly<commit_after>(ns braid.ui.styles.misc
  (:require [garden.units :refer [rem em px ex]]
            [garden.arithmetic :as m]
            [braid.ui.styles.mixins :as mixins]
            [braid.ui.styles.vars :as vars]))

(def layout
  [:.app
    [:.main

     [:.sidebar
      {:position "fixed"
       :left 0
       :top 0
       :bottom 0
       :width vars/sidebar-width
       :box-sizing "border-box"}]

     [:.page
      {:position "absolute"
       :left vars/sidebar-width
       :top 0
       :bottom 0
       :right 0}]]])

(def emojione
  [:.emojione
   {:font-size "inherit"
    :height (ex 3)
    :width (ex 3.1)
    :min-height (px 20)
    :min-width (px 20)
    :display "inline-block"
    :margin [[(ex -0.2) (em 0.15) (ex 0.2)]]
    :line-height "normal"
{'fraction_non_alphanumeric': 0.15594059405940594, 'fraction_numerical': 0.024752475247524754, 'mean_word_length': 1.9293478260869565, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6693291', 'n_tokens_mistral': 639, 'n_tokens_neox': 592, 'n_words': 156}