Skip to content

Commit 27cebe0

Browse files
ENGCOM-5358: Fixed issue #21974 #23393
- Merge Pull Request #23393 from geeta07/magento2:fix-21974 - Merged commits: 1. eb28f14
2 parents 9fc254f + eb28f14 commit 27cebe0

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

app/code/Magento/Analytics/Test/Mftf/Section/AdminConfigAdvancedReportingSection.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<element name="advancedReportingIndustry" type="select" selector="#analytics_general_vertical"/>
1515
<element name="advancedReportingIndustryLabel" type="text" selector=".config-vertical-label>label>span"/>
1616
<element name="advancedReportingHour" type="select" selector="#row_analytics_general_collection_time>td:nth-child(2)>select:nth-child(2)"/>
17-
<element name="advancedReportingMinute" type="select" selector="#row_analytics_general_collection_time>td:nth-child(2)>select:nth-child(3)"/>
18-
<element name="advancedReportingSeconds" type="select" selector="#row_analytics_general_collection_time>td:nth-child(2)>select:nth-child(4)"/>
17+
<element name="advancedReportingMinute" type="select" selector="#row_analytics_general_collection_time>td:nth-child(2)>select:nth-child(4)"/>
18+
<element name="advancedReportingSeconds" type="select" selector="#row_analytics_general_collection_time>td:nth-child(2)>select:nth-child(6)"/>
1919
<element name="advancedReportingBlankIndustryError" type="text" selector=".message-error>div"/>
2020
</section>
2121
</sections>

app/design/adminhtml/Magento/backend/Magento_Backend/web/css/source/module/main/_collapsible-blocks.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,11 @@
511511
right: 0;
512512
top: 0;
513513
}
514+
515+
.time-separator {
516+
font-size: 14px;
517+
padding-left: 5px;
518+
}
514519

515520
.tooltip-content {
516521
background: @color-very-dark-gray-black2;

lib/internal/Magento/Framework/Data/Form/Element/Time.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function getElementHtml()
7676
}
7777
$html .= '</select>' . "\n";
7878

79-
$html .= ':&nbsp;<select name="' . $this->getName() . '" style="width:80px" '
79+
$html .= '<span class="time-separator">:&nbsp;</span><select name="' . $this->getName() . '" style="width:80px" '
8080
. $this->serialize($this->getHtmlAttributes())
8181
. $this->_getUiId('minute') . '>' . "\n";
8282
for ($i = 0; $i < 60; $i++) {
@@ -86,7 +86,7 @@ public function getElementHtml()
8686
}
8787
$html .= '</select>' . "\n";
8888

89-
$html .= ':&nbsp;<select name="' . $this->getName() . '" style="width:80px" '
89+
$html .= '<span class="time-separator">:&nbsp;</span><select name="' . $this->getName() . '" style="width:80px" '
9090
. $this->serialize($this->getHtmlAttributes())
9191
. $this->_getUiId('second') . '>' . "\n";
9292
for ($i = 0; $i < 60; $i++) {

0 commit comments

Comments
 (0)