Skip to content

Commit

Permalink
1.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 9, 2017
1 parent 2fabed4 commit 6e584b1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Js.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ class Js extends _P {
*/
final protected function _toHtml() {return df_js(__CLASS__, 'main', [
'countries' => df_country_codes_allowed()
,'utils' => df_asset_create(df_asset_name('Df_Phone::lib/js/utils.js'))->getUrl()
]) . df_link_inline(df_asset_name('Df_Phone::lib/css/main.css'));}
,'utils' => df_asset_create('Df_Phone::lib/js/utils.js')->getUrl()
]) . df_cc_br(df_link_inline('Df_Phone::lib/css/main.css', 'Df_Phone::main.css'));}
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/phone"
,"version": "1.0.9"
,"version": "1.0.10"
,"description": "A telephone numbers handling library for my Magento 2 extensions."
,"type": "magento2-module"
,"homepage": "https://github.com/mage2pro/phone"
Expand Down
6 changes: 6 additions & 0 deletions view/base/web/main.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// 2017-09-09
// Note 1.
// `.mage-error` has `margin-top: 7px` by default.
// But a lesser margin looks better for `jackocnr/intl-tel-input`.
// Note 2. I use `div.mage-error[generated]` instead of `.mage-error` to overcome the built-in M2 rule.
.df-phone-addon + div.mage-error[generated] {margin-top: 3px;}

0 comments on commit 6e584b1

Please sign in to comment.