fix size of toggle buttons

This commit is contained in:
marlon-erler
2026-04-12 19:30:17 +00:00
parent 653fc2e89b
commit 08c043b4de
5 changed files with 6 additions and 30 deletions
+1 -5
View File
@@ -376,8 +376,7 @@ body[showing-chat] #chat-page-wrapper {
justify-content: center; justify-content: center;
} }
#chat-page > div > #ribbon button.ribbon-button, #chat-page > div > #ribbon button.ribbon-button,
#chat-page > div > #main > div > .pane-wrapper > .pane > .toolbar button.ribbon-button, #chat-page > div > #main > div > .pane-wrapper > .pane > .toolbar button.ribbon-button {
#chat-page > div > #main > div > .pane-wrapper > .pane > .toolbar button[selected] {
min-width: calc(var(--control-height) - 2 * var(--gap-between-tiles)); min-width: calc(var(--control-height) - 2 * var(--gap-between-tiles));
width: calc(var(--control-height) - 2 * var(--gap-between-tiles)); width: calc(var(--control-height) - 2 * var(--gap-between-tiles));
max-width: calc(var(--control-height) - 2 * var(--gap-between-tiles)); max-width: calc(var(--control-height) - 2 * var(--gap-between-tiles));
@@ -385,9 +384,6 @@ body[showing-chat] #chat-page-wrapper {
height: calc(var(--control-height) - 2 * var(--gap-between-tiles)); height: calc(var(--control-height) - 2 * var(--gap-between-tiles));
color: var(--primary); color: var(--primary);
} }
#chat-page > div > #main > div > .pane-wrapper > .pane > .toolbar button[selected]:not(.ribbon-button) {
margin: var(--gap-between-tiles);
}
#chat-page > div > #ribbon button > .icon, #chat-page > div > #ribbon button > .icon,
#chat-page > div > #main > div > .pane-wrapper > .pane > .toolbar button > .icon { #chat-page > div > #main > div > .pane-wrapper > .pane > .toolbar button > .icon {
font-size: 1.1rem; font-size: 1.1rem;
+2 -3
View File
@@ -2254,7 +2254,7 @@
this.connectionModel = connectionModel2; this.connectionModel = connectionModel2;
this.chatListModel = chatListModel2; this.chatListModel = chatListModel2;
this.fileTransferModel = fileTransferModel2; this.fileTransferModel = fileTransferModel2;
this.BUILD = "Build 26.04.12.A"; this.BUILD = "Build 26.04.12.B";
// CONTEXT // CONTEXT
this.contextStack = /* @__PURE__ */ new Map(); this.contextStack = /* @__PURE__ */ new Map();
this.logContexts = () => { this.logContexts = () => {
@@ -2316,7 +2316,6 @@
this.keystrokes = /* @__PURE__ */ new Map(); this.keystrokes = /* @__PURE__ */ new Map();
this.handleKeystroke = (e) => { this.handleKeystroke = (e) => {
const fn = this.keystrokes.get(e.key.toLowerCase()); const fn = this.keystrokes.get(e.key.toLowerCase());
console.log(this.keystrokes);
if (!fn) return false; if (!fn) return false;
e.preventDefault(); e.preventDefault();
fn(); fn();
@@ -5256,7 +5255,7 @@
)), /* @__PURE__ */ createElement("span", null, /* @__PURE__ */ createElement( )), /* @__PURE__ */ createElement("span", null, /* @__PURE__ */ createElement(
"button", "button",
{ {
class: "ghost", class: "ghost inset-outline",
"aria-label": coreViewModel2.translations.chatPage.task.filterTasksButtonAudioLabel, "aria-label": coreViewModel2.translations.chatPage.task.filterTasksButtonAudioLabel,
"on:click": boardViewModel.showFilterModal, "on:click": boardViewModel.showFilterModal,
"toggle:selected": boardViewModel.isFilterActive "toggle:selected": boardViewModel.isFilterActive
+1 -1
View File
@@ -128,7 +128,7 @@ export function BoardPage(
</span> </span>
<span> <span>
<button <button
class="ghost" class="ghost inset-outline"
aria-label={ aria-label={
coreViewModel.translations.chatPage.task coreViewModel.translations.chatPage.task
.filterTasksButtonAudioLabel .filterTasksButtonAudioLabel
+1 -20
View File
@@ -186,15 +186,7 @@ body[showing-chat] #chat-page-wrapper {
> .pane-wrapper > .pane-wrapper
> .pane > .pane
> .toolbar > .toolbar
button.ribbon-button, button.ribbon-button {
#chat-page
> div
> #main
> div
> .pane-wrapper
> .pane
> .toolbar
button[selected] {
min-width: calc(var(--control-height) - 2 * var(--gap-between-tiles)); min-width: calc(var(--control-height) - 2 * var(--gap-between-tiles));
width: calc(var(--control-height) - 2 * var(--gap-between-tiles)); width: calc(var(--control-height) - 2 * var(--gap-between-tiles));
max-width: calc(var(--control-height) - 2 * var(--gap-between-tiles)); max-width: calc(var(--control-height) - 2 * var(--gap-between-tiles));
@@ -205,17 +197,6 @@ body[showing-chat] #chat-page-wrapper {
color: var(--primary); color: var(--primary);
} }
#chat-page
> div
> #main
> div
> .pane-wrapper
> .pane
> .toolbar
button[selected]:not(.ribbon-button) {
margin: var(--gap-between-tiles);
}
#chat-page > div > #ribbon button > .icon, #chat-page > div > #ribbon button > .icon,
#chat-page #chat-page
> div > div
+1 -1
View File
@@ -8,7 +8,7 @@ import FileTransferModel from "../../Model/Global/fileTransferModel";
import { v4 } from "uuid"; import { v4 } from "uuid";
export default class CoreViewModel { export default class CoreViewModel {
readonly BUILD = "Build 26.04.12.B"; readonly BUILD = "Build 26.04.12.C";
translations: Translations; translations: Translations;