Skip to content

Commit

Permalink
OIS-24: improved styles that were not supporting RTL
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikNoga committed Sep 9, 2024
1 parent 6d19ebf commit 7c5e10f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.physical-inventory-draft-progress {
margin-left: 0;
@include margin-left(0);
}

.reasons-cell {

padding-right: 0.5em !important;
@include padding-right(0.5em);

&:before {
content: '' !important;
Expand All @@ -13,6 +13,6 @@

.draft-indicator {
display: block;
float: right;
@include float(right);
margin-top: 1em;
}
10 changes: 5 additions & 5 deletions src/stock-reasons-modal/_stock-reasons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@
dl > dd {
flex: 0 0 auto;
white-space: nowrap;
text-align: right;
@include text-align(right);
}
}

td stock-reasons > button {
width: 100%;
text-align: left;
@include text-align(left);
display: flex;
justify-content: flex-start;

&.add::before, &.edit::before {
text-align: left;
@include text-align(left);
}

&.edit {
Expand All @@ -38,8 +38,8 @@ td stock-reasons > button {
content: "\f06a";
font-family: FontAwesome;
display: inline-block;
margin-left: 0.5em;
@include margin-left(0.5em);
flex-grow: 1;
text-align: right;
@include text-align(right);
}
}

0 comments on commit 7c5e10f

Please sign in to comment.