From bef2c0425deceb4f99368935d2c845aca99a100c Mon Sep 17 00:00:00 2001 From: Hendrik Richter Date: Wed, 1 Sep 2021 15:54:26 +0200 Subject: [PATCH] remove some unneeded/wrong rounded corners --- lib/IHP/static/IDE/ihp-codegen.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/IHP/static/IDE/ihp-codegen.css b/lib/IHP/static/IDE/ihp-codegen.css index d7a92ed3f..b01516bf5 100644 --- a/lib/IHP/static/IDE/ihp-codegen.css +++ b/lib/IHP/static/IDE/ihp-codegen.css @@ -60,8 +60,7 @@ .code-generator input[name="name"], .code-generator input[name="description"] { font-size: 24px; outline: none; - border-top-left-radius: 8px; - border-top-right-radius: 8px; + border-top-left-radius: 0; border-bottom: 1px solid #c0c0c0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; @@ -69,6 +68,10 @@ background-color: #ebebeb; } +.code-generator input[name="name"]:first-child, .code-generator input[name="description"]:first-child { + border-top-left-radius: 8px; +} + .code-generator input[name="name"]:focus, .code-generator input[name="description"]:focus { outline: none !important; border-bottom: 1px solid #c0c0c0; @@ -80,7 +83,7 @@ color: #ababaa; } -.code-generator input[type="submit"] { +.code-generator input[type="submit"], .code-generator button[type="submit"] { border-top-left-radius: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0;