{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/1689","labels_url":"https://api.github.com/repos/magento/magento2/issues/1689/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/1689/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/1689/events","html_url":"https://github.com/magento/magento2/issues/1689","id":101460300,"number":1689,"title":"Unnecessary overruling of default UI element in certain pages","user":{"login":"blindmancs","id":5958330,"avatar_url":"https://avatars.githubusercontent.com/u/5958330?v=3","gravatar_id":"","url":"https://api.github.com/users/blindmancs","html_url":"https://github.com/blindmancs","followers_url":"https://api.github.com/users/blindmancs/followers","following_url":"https://api.github.com/users/blindmancs/following{/other_user}","gists_url":"https://api.github.com/users/blindmancs/gists{/gist_id}","starred_url":"https://api.github.com/users/blindmancs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blindmancs/subscriptions","organizations_url":"https://api.github.com/users/blindmancs/orgs","repos_url":"https://api.github.com/users/blindmancs/repos","events_url":"https://api.github.com/users/blindmancs/events{/privacy}","received_events_url":"https://api.github.com/users/blindmancs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magento/magento2/labels/CS","name":"CS","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-17T16:33:02Z","updated_at":"2015-08-19T14:00:40Z","closed_at":null,"body":"There are certain elements in the UI that should be left unmodified regardless of where they are, and instead if necessary modified with extra classes.\r\n\r\nCheck this less file:\r\nhttps://github.com/magento/magento2/blob/develop/app/design/frontend/Magento/blank/Magento_Checkout/web/css/source/module/checkout/_payments.less#L42\r\nLine 42 basically makes all .action.primary button elements (by default the standard highlighted button, in default template, color blue) twice as big, on the second page of the checkout (billing address section)\r\n\r\nIt applies the rule if a specific parent element is in place. (.checkout-payment-method, this block contains all the form elements in this section)\r\nInstead of using the button-l class in the template (on the button) which is already defined is less.\r\n\r\nThis modification is really frustrating for module development: I want to stick to the base UI elements, without having to do custom classes on specific pages to force-resize the UI element back to it's default state. I need to insert a standard UI button into both Shipping & Billing parts of the checkout; for shipping there's no such overruling & everything is sweet, however with Billing this immediately pops in.\r\n\r\nFrom the css selector affecting all buttons in that part of the checkout, I can also see that this issue applies to several other pages too.\r\n\r\nSadly I'm not sure how I can contribute to solving this issue; this is generally a bad practice (not caring about anyone later wishing to extend the interface under a significantly sized content part) and possibly would require changing several templates & less files.\r\n\r\nThanks in advance, and I would welcome any feedback. (or any ways css rules to force the standard button size?)"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/132608048","html_url":"https://github.com/magento/magento2/issues/1689#issuecomment-132608048","issue_url":"https://api.github.com/repos/magento/magento2/issues/1689","id":132608048,"user":{"login":"zanilee","id":11754689,"avatar_url":"https://avatars.githubusercontent.com/u/11754689?v=3","gravatar_id":"","url":"https://api.github.com/users/zanilee","html_url":"https://github.com/zanilee","followers_url":"https://api.github.com/users/zanilee/followers","following_url":"https://api.github.com/users/zanilee/following{/other_user}","gists_url":"https://api.github.com/users/zanilee/gists{/gist_id}","starred_url":"https://api.github.com/users/zanilee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zanilee/subscriptions","organizations_url":"https://api.github.com/users/zanilee/orgs","repos_url":"https://api.github.com/users/zanilee/repos","events_url":"https://api.github.com/users/zanilee/events{/privacy}","received_events_url":"https://api.github.com/users/zanilee/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T14:00:40Z","updated_at":"2015-08-19T14:00:40Z","body":"We'll handle it. Internal ticket MAGETWO-41842"}}