-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport 4.4-7.16] Fix button styling in event view (#5184)
* Fix button styling in event view (#5137) * add new style * add changelog Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com> (cherry picked from commit 57f0e9f) * Fix details button style classes --------- Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com> Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
- Loading branch information
1 parent
f4191f1
commit e940307
Showing
3 changed files
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 6 additions & 5 deletions
11
...kibana-integrations/discover/application/angular/doc_table/components/table_row/open.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<td ng-click="toggleRow()" data-test-subj="docTableExpandToggleColumn" class="kbnDocTableCell__toggleDetails"> | ||
<button | ||
class="euiButtonIcon euiButtonIcon--text" | ||
class="euiButtonEmpty euiButtonEmpty--primary euiButtonEmpty--xSmall euiButtonEmpty--open euiButtonEmpty--auto" | ||
aria-expanded="{{!!open}}" | ||
aria-label="{{ ::'discover.docTable.tableRow.toggleRowDetailsButtonAriaLabel' | i18n: {defaultMessage: 'Toggle row details'} }}" | ||
> | ||
<icon ng-if="open" type="'arrowDown'" size="'s'"></icon> | ||
<icon ng-if="!open" type="'arrowRight'" size="'s'"></icon> | ||
aria-label="{{ ::'discover.docTable.tableRow.toggleRowDetailsButtonAriaLabel' | i18n: {defaultMessage: 'Toggle row details'} }}"> | ||
<span class="euiButtonContent euiButtonEmpty__content"> | ||
<icon ng-if="open" type="'arrowDown'" size="'s'"></icon> | ||
<icon ng-if="!open" type="'arrowRight'" size="'s'"></icon> | ||
</span> | ||
</button> | ||
</td> |