You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/04/07 14:11:39 UTC

[GitHub] [camel-website] psingh587 commented on a change in pull request #327: Search-Cancel Button position fixes in the search box

psingh587 commented on a change in pull request #327: Search-Cancel Button position fixes in the search box
URL: https://github.com/apache/camel-website/pull/327#discussion_r404840109
 
 

 ##########
 File path: antora-ui-camel/src/css/header.css
 ##########
 @@ -416,9 +416,9 @@ body {
 
 #search-cancel {
   position: relative;
-  bottom: 1.4rem;
-  left: 10.6rem;
-  height: 1.1rem;
+  bottom: calc(50% - var(--body-font-size--desktop) / 7.5);
+  left: calc(100% - var(--body-font-size--desktop) / 0.9);
 
 Review comment:
   Actually to convert the existing variable quantity into 0.15 rem and 1.25 rem respectively, i did that. I thought that's what you meant by 'deriving it from a variable'

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services