N°1579 Portal: Fix wrong pictogram placement on email & tel attributes in the ManageBrick.

SVN:trunk[5984]
This commit is contained in:
Guillaume Lajarige
2018-07-25 15:02:29 +00:00
parent ab1715edec
commit 48b3bd8bf3
4 changed files with 10 additions and 11 deletions

View File

@@ -225,6 +225,10 @@ footer {
-webkit-justify-content: center;
justify-content: center;
}
.text_decoration {
vertical-align: baseline;
margin-right: 8px;
}
/*********************/
/* Global animations */
/*********************/
@@ -990,10 +994,6 @@ table .group-actions {
color: #ea7d1e;
font-size: 0.9em;
}
.form_field .form_field_decoration, .form_field_control .form_field_decoration {
vertical-align: baseline;
margin-right: 8px;
}
/* ExternalKey */
.selectobject .input-group-addon {
cursor: pointer;

View File

@@ -238,6 +238,10 @@ footer{
-webkit-justify-content : center;
justify-content : center;
}
.text_decoration{
vertical-align: baseline;
margin-right: 8px;
}
/*********************/
/* Global animations */
@@ -1067,11 +1071,6 @@ table .group-actions .item-action-wrapper .panel-body > p:last-child{
color: $brand-primary;
font-size: 0.9em;
}
.form_field .form_field_decoration,
.form_field_control .form_field_decoration{
vertical-align: baseline;
margin-right: 8px;
}
/* ExternalKey */
.selectobject .input-group-addon{
cursor: pointer;

View File

@@ -40,6 +40,6 @@ class EmailField extends StringField
$sUrlDecorationClass = utils::GetConfig()->Get('email_decoration_class');
return "<a class=\"mailto\" href=\"mailto:$this->currentValue\"><span class=\"form_field_decoration $sUrlDecorationClass\"></span>$sLabel</a>";
return "<a class=\"mailto\" href=\"mailto:$this->currentValue\"><span class=\"form_field_decoration text_decoration $sUrlDecorationClass\"></span>$sLabel</a>";
}
}

View File

@@ -40,6 +40,6 @@ class PhoneField extends StringField
$sUrlDecorationClass = utils::GetConfig()->Get('phone_number_decoration_class');
return "<a class=\"tel\" href=\"tel:$this->currentValue\"><span class=\"form_field_decoration $sUrlDecorationClass\"></span>$sLabel</a>";
return "<a class=\"tel\" href=\"tel:$this->currentValue\"><span class=\"form_field_decoration text_decoration $sUrlDecorationClass\"></span>$sLabel</a>";
}
}