Skip to content

Commit

Permalink
fix(NcListItem): Fix padding in RTL mode.
Browse files Browse the repository at this point in the history
Signed-off-by: Faisal Alghamdi <[email protected]>
  • Loading branch information
falghamdi125 committed Jan 14, 2025
1 parent 4349c3c commit e8ce3f7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/NcListItem/NcListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,9 @@ export default {
.list-item-content__details,
.list-item-details__details {
white-space: nowrap;
margin: 0 auto 0 0;
margin-top: 0;
margin-bottom: 0;
margin-inline:0 auto;
overflow: hidden;
text-overflow: ellipsis;
}
Expand Down Expand Up @@ -984,7 +986,7 @@ export default {
display: flex;
flex: 1 0;
justify-content: space-between;
padding-left: calc(2 * var(--default-grid-baseline));
padding-inline-start: calc(2 * var(--default-grid-baseline));
min-width: 0;

&__main {
Expand All @@ -1009,7 +1011,7 @@ export default {
flex: 0 0 auto;
align-self: center;
justify-content: center;
margin-left: var(--default-grid-baseline);
margin-inline-start: var(--default-grid-baseline);
}

&__extra-actions {
Expand Down

0 comments on commit e8ce3f7

Please sign in to comment.