UI: stack notice buttons only below 200 pt so the 900-wide notice keeps its layout (#1913)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
vangel76andClaude Sonnet 5.5 committed 2026-10-15 23:16:29 +02:00
1 parent f6e335f3fe
commit 03a4c21cfe
1 file changed
+1 -1
+1 -1
View File
@@ -4249,7 +4249,7 @@ fn notice_bar(ui: &mut egui::Ui, t: &Tokens, icon: &str, icon_color: Color32, te
const ROW: f32 = 28.0;
const ICON: f32 = 16.0;
/// Content width below which the buttons stack under the message.
const STACK_BELOW: f32 = 300.0;
const STACK_BELOW: f32 = 200.0;
egui::Frame::NONE.fill(t.accent_soft).inner_margin(egui::Margin::symmetric(14, 7)).show(ui, |ui| {
let width = ui.available_width();
if width < STACK_BELOW {