1. Update spacing units to em 2. Hide reasoning icon by default 3. Make arrow scaleable

50869757d35ce7ae6d5cf2989bd9584d94451417

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +16 -10Showing whitespace changes
public/style.css+16 -10
@@ -347,7 +347,7 @@ input[type='checkbox']:focus-visible {
347347 border-left: 2px solid var(--SmartThemeEmColor);
348348 border-radius: 2px;
349349 padding: 5px;
350350 margin-bottom: 0.5rem5em;
351351 overflow-y: auto;
352352 color: var(--SmartThemeEmColor);
353353}
@@ -355,6 +355,7 @@ input[type='checkbox']:focus-visible {
355355.mes_reasoning_details {
356356 margin-right: var(--mes-right-spacing);
357357}
358+
358359.mes_reasoning_details .mes_reasoning_summary {
359360 margin-right: calc(var(--mes-right-spacing) * -1);
360361}
@@ -383,11 +384,17 @@ input[type='checkbox']:focus-visible {
383384 cursor: pointer;
384385 position: relative;
385386 user-select: none;
386387 margin: 0.5rem5em 2px;
387388 padding: 7px 14px;
388389 border-radius: 10px;
389390 background-color: var(--grey30);
390391 font-size: calc(var(--mainFontSize) * 0.9);
392+ align-items: baseline;
393+}
394+
395+/* TWIMC: Remove with custom CSS to show the icon */
396+.mes_reasoning_header > .icon-svg {
397+ display: none;
391398}
392399
393400@supports not selector(:has(*)) {
@@ -407,10 +414,9 @@ input[type='checkbox']:focus-visible {
407414}
408415
409416.mes_reasoning_details .mes_reasoning_arrow {
410- font-size: 10px;
417+ font-size: calc(var(--mainFontSize) * 0.7);
411- width: 10px;
418+ width: calc(var(--mainFontSize) * 0.7);
412- height: 10px;
419+ height: calc(var(--mainFontSize) * 0.7);
413- margin-top: 5px;
414420}
415421
416422.mes_reasoning_details:not([open]) .mes_reasoning_arrow {
@@ -4251,15 +4257,15 @@ input[type="range"]::-webkit-slider-thumb {
42514257
42524258.mes_reasoning_actions {
42534259 margin: 0;
42544260 margin-top: 0.5rem5em;
42554261}
42564262
42574263.mes_edit_buttons .menu_button,
42584264.mes_reasoning_actions .edit_button {
42594265 opacity: 0.5;
42604266 padding: 0px;
42614267 font-size: 1rem1em;
42624268 height: 2rem2em;
42634269 margin-top: 0;
42644270 margin-bottom: 0;
42654271 aspect-ratio: 1 / 1;
@@ -4269,7 +4275,7 @@ input[type="range"]::-webkit-slider-thumb {
42694275}
42704276
42714277.mes_reasoning_actions .edit_button {
42724278 margin-bottom: 0.5rem5em;
42734279 opacity: 1;
42744280 filter: brightness(0.7);
42754281}