Skip to content

Commit

Permalink
ui/nodealertpage: Address the responsiveness
Browse files Browse the repository at this point in the history
Refs: #3002
  • Loading branch information
ChengYanJin committed Feb 5, 2021
1 parent 7c8554f commit 5f95d92
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion ui/src/components/NodePageAlertsTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,10 @@ const NodePageAlertsTab = (props) => {
{
Header: 'Name',
accessor: 'name',
cellStyle: { width: '230px' },
cellStyle: {
paddingRight: '5px',
wordBreak: 'break-all',
},
},
{
Header: 'Severity',
Expand Down
7 changes: 5 additions & 2 deletions ui/src/components/VolumeAlertsTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,10 @@ const ActiveAlertsCard = (props) => {
{
Header: 'Name',
accessor: 'name',
cellStyle: { width: '200px' },
cellStyle: {
paddingRight: '5px',
wordBreak: 'break-all',
},
},
{
Header: 'Severity',
Expand All @@ -250,7 +253,7 @@ const ActiveAlertsCard = (props) => {
{
Header: 'Active since',
accessor: 'active_since',
cellStyle: { textAlign: 'center', width: '150px' },
cellStyle: { textAlign: 'center', width: '120px' },
},
],
[],
Expand Down

0 comments on commit 5f95d92

Please sign in to comment.