From 6ee6e7a2c3111b9829d57749c306de5c98ead12b Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Sun, 29 Mar 2026 17:30:56 +0200 Subject: [PATCH] [mirotalk] - move room generate button inside room name input field --- public/css/landing.css | 48 +++++++++++++++++++++++++++++++++++++++ public/views/landing.html | 24 +++++++++++--------- public/views/newcall.html | 24 +++++++++++--------- 3 files changed, 74 insertions(+), 22 deletions(-) diff --git a/public/css/landing.css b/public/css/landing.css index ce999f4b..0f7c32fa 100755 --- a/public/css/landing.css +++ b/public/css/landing.css @@ -1446,11 +1446,51 @@ textarea.form-input { margin-top: 8px; } +.room-input-wrap { + position: relative; + flex-grow: 1; + flex-shrink: 1; +} + +.room-input-wrap .form-input { + padding-right: 44px; +} + +.room-gen-btn { + position: absolute; + right: 6px; + top: 50%; + transform: translateY(-50%); + background: none; + border: none; + color: #6a6f82; + font-size: 18px; + cursor: pointer; + padding: 6px; + border-radius: 6px; + opacity: 0.6; + transition: color 0.2s, background 0.2s, opacity 0.2s; +} + +.room-gen-btn:hover { + color: #fff; + background: #376df9; + opacity: 1; +} + @media (max-width: 640px) { .form-group-desktop .form-input { margin-bottom: 12px; } + .form-group-desktop .room-input-wrap { + margin-bottom: 12px; + } + + .form-group-desktop .room-input-wrap .form-input { + margin-bottom: 0; + } + .form-group-desktop .button { width: 100%; } @@ -1467,6 +1507,14 @@ textarea.form-input { margin-right: 12px; } + .form-group-desktop .room-input-wrap { + margin-right: 12px; + } + + .form-group-desktop .room-input-wrap .form-input { + margin-right: 0; + } + .form-group-desktop .button { padding-left: 24px; padding-right: 24px; diff --git a/public/views/landing.html b/public/views/landing.html index 84999c37..34c79b6f 100755 --- a/public/views/landing.html +++ b/public/views/landing.html @@ -139,17 +139,19 @@
- - +
+ + +
diff --git a/public/views/newcall.html b/public/views/newcall.html index a7ac3be7..bd866d0a 100755 --- a/public/views/newcall.html +++ b/public/views/newcall.html @@ -129,17 +129,19 @@
- - +
+ + +