From patchwork Tue Feb 21 12:50:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 6582 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4PLfJy6Dxxz3x1t for ; Tue, 21 Feb 2023 12:50:26 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4PLfJx5PZhzhR; Tue, 21 Feb 2023 12:50:25 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PLfJx43Smz2xSJ; Tue, 21 Feb 2023 12:50:25 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4PLfJv5lc8z2xQl for ; Tue, 21 Feb 2023 12:50:23 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4PLfJv0c3NzVw; Tue, 21 Feb 2023 12:50:23 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1676983823; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=mqHtn0PoyIETtq8fqfcY5B3oZ7OwDkr1QhUG3wvyzNM=; b=RiN4N3iumid9QiDi3IKhiDweik6woq0BgJafUxjSIHaPjmu1gAAGbzYGZMr691xoovrywl 6vCuUyy1N58Xt7Bw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1676983823; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=mqHtn0PoyIETtq8fqfcY5B3oZ7OwDkr1QhUG3wvyzNM=; b=Mz/3h8pxQSQ0oP+YlgYfxqGLxHlM3teal+i+scZ0lEjc/brsBt6XgioYVx1ThZznY+mQP/ UT8RjXIFBkzm+6QrVXnsTw6/nuvr4y9n9FWnhZwUc4k4HDSgQ6ec6xGAOLr1mGICKsqkSp EFKKQSiChR9mAULjnYi5sbIgg/HC03Mvonc+oJr9vcHMGS4TBy1GNtX4YQFel9Tivl5ihb 33usU4bfL343AXDv6vutmaaI7z3U3c0GvxNcHwOl+5EN/044jyugS2tiBxTwEaJWOxPQm6 pStFf5sRZIMqo6P0CNCEuKl6aZ76QLksYsOwdL7JCpAwqG6w+ed/FkTdqY4b3w== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] wio.cgi: Fixes bug#13039 - Input boxes extend outside of WUI boundary with some browsers Date: Tue, 21 Feb 2023 13:50:11 +0100 Message-Id: <20230221125011.3658-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Original poster found this effect with using Vivaldi at 100% zoom. - I tested it with Vivaldi and Firefox on Arch Linux and was not able to show the effect but running SeaMonkey and changing the zoom from 100% to lower or higher caused the input boxes to go outside of the WUI boundary as described by the bug reporter. - It looks like the effect is dependent on the browser, the zoom setting and the OS Distribution. - In all cases the similar three input boxes in a row in the dhcp.cgi code for entering a fixed lease stayed fixed in ratrio to the WUI page whatever zoom or browser was used. - This patch changes the wio code for those three input boxes to use the approach from the dhcp.cgi code. - Tested on my vm testbed and change confirmed to fix the size of the input boxes irrespective of the browser or zoom setting. Fixes: Bug#13039 Tested-by: Adolf Belka Signed-off-by: Adolf Belka --- src/wio/wio.cgi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wio/wio.cgi b/src/wio/wio.cgi index a61102894..f31f5d565 100644 --- a/src/wio/wio.cgi +++ b/src/wio/wio.cgi @@ -1761,12 +1761,12 @@ print"   - $Lang::tr{'wio ipadress'}: - - $Lang::tr{'wio name'}: - - $Lang::tr{'remark'}: - + $Lang::tr{'wio ipadress'}: + + $Lang::tr{'wio name'}: + + $Lang::tr{'remark'}: + $Lang::tr{'wio_ping_send'}: