Skip to content

Commit

Permalink
[8.17] [ResponseOps][Rules]The rule row actions in the rules table ar…
Browse files Browse the repository at this point in the history
…e displayed incorrectly on smaller screens (#201912) (#202023)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[ResponseOps][Rules]The rule row actions in the rules table are
displayed incorrectly on smaller screens
(#201912)](#201912)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Georgiana-Andreea
Onoleață","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-27T16:13:10Z","message":"[ResponseOps][Rules]The
rule row actions in the rules table are displayed incorrectly on smaller
screens (#201912)\n\nCloses
https://github.com/elastic/kibana/issues/193413\r\n\r\n##
Summary\r\n\r\n- set a fixed width for the status column, which solves
the issue of the\r\nrule row actions being misaligned and overlapping on
smaller screens\r\n\r\n<img width=\"1451\" alt=\"Screenshot 2024-11-27
at 10 20
10\"\r\nsrc=\"https://github.com/user-attachments/assets/2413e306-2b16-4a96-a127-2ed3550792ad\">","sha":"b0d4a21658258399e1b524a25df8ccb174e4832d","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","v9.0.0","backport:prev-minor","v8.17.0"],"title":"[ResponseOps][Rules]The
rule row actions in the rules table are displayed incorrectly on smaller
screens","number":201912,"url":"https://github.com/elastic/kibana/pull/201912","mergeCommit":{"message":"[ResponseOps][Rules]The
rule row actions in the rules table are displayed incorrectly on smaller
screens (#201912)\n\nCloses
https://github.com/elastic/kibana/issues/193413\r\n\r\n##
Summary\r\n\r\n- set a fixed width for the status column, which solves
the issue of the\r\nrule row actions being misaligned and overlapping on
smaller screens\r\n\r\n<img width=\"1451\" alt=\"Screenshot 2024-11-27
at 10 20
10\"\r\nsrc=\"https://github.com/user-attachments/assets/2413e306-2b16-4a96-a127-2ed3550792ad\">","sha":"b0d4a21658258399e1b524a25df8ccb174e4832d"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201912","number":201912,"mergeCommit":{"message":"[ResponseOps][Rules]The
rule row actions in the rules table are displayed incorrectly on smaller
screens (#201912)\n\nCloses
https://github.com/elastic/kibana/issues/193413\r\n\r\n##
Summary\r\n\r\n- set a fixed width for the status column, which solves
the issue of the\r\nrule row actions being misaligned and overlapping on
smaller screens\r\n\r\n<img width=\"1451\" alt=\"Screenshot 2024-11-27
at 10 20
10\"\r\nsrc=\"https://github.com/user-attachments/assets/2413e306-2b16-4a96-a127-2ed3550792ad\">","sha":"b0d4a21658258399e1b524a25df8ccb174e4832d"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Georgiana-Andreea Onoleață <[email protected]>
  • Loading branch information
kibanamachine and georgianaonoleata1904 authored Nov 27, 2024
1 parent d3094b7 commit 29aec64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ export const RulesListTable = (props: RulesListTableProps) => {
),
sortable: true,
truncateText: false,
width: '10%',
width: '100px',
'data-test-subj': 'rulesTableCell-status',
render: (_enabled: boolean | undefined, rule: RuleTableItem) => {
return renderRuleStatusDropdown(rule);
Expand Down

0 comments on commit 29aec64

Please sign in to comment.