Skip to content

Commit

Permalink
Fix alignment of tooltips on table inline actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGreene committed Jul 17, 2024
1 parent 4ce6f28 commit 043e27d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions packages/components/src/components/Table/_Table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ limitations under the License.
text-align: end;
inline-size: 8rem;

.#{$prefix}--tooltip {
text-align: initial;
}

.#{$prefix}--btn--icon-only:not(.#{$prefix}--link) {
margin-top: -1px; // to account for border
}
Expand Down
3 changes: 0 additions & 3 deletions src/containers/Pipelines/Pipelines.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ function getFormattedResources({
}
renderIcon={DeleteIcon}
size="sm"
tooltipAlignment="center"
tooltipPosition="left"
/>
) : null}
Expand All @@ -104,7 +103,6 @@ function getFormattedResources({
namespace: pipeline.metadata.namespace,
pipelineName: pipeline.metadata.name
}).toString()}`}
tooltipAlignment="center"
tooltipPosition="left"
/>
) : null}
Expand All @@ -125,7 +123,6 @@ function getFormattedResources({
namespace: pipeline.metadata.namespace,
pipelineName: pipeline.metadata.name
})}
tooltipAlignment="center"
tooltipPosition="left"
/>
</>
Expand Down

0 comments on commit 043e27d

Please sign in to comment.