Skip to content

Commit 39c3263

Browse files
committed
Fix css properties + feedback
1 parent 74f0f5b commit 39c3263

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/Components/QuickGrid/Microsoft.AspNetCore.Components.QuickGrid/src/QuickGrid.razor.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,23 @@ td.col-justify-end {
8080
text-align: right;
8181
}
8282

83+
.col-justify-start .col-options {
84+
left: 0;
85+
right: unset;
86+
}
87+
88+
td.col-justify-start {
89+
text-align: left;
90+
}
91+
92+
td.col-justify-right {
93+
text-align: right;
94+
}
95+
96+
td.col-justify-left {
97+
text-align: left;
98+
}
99+
83100
/* Unfortunately we can't use the :dir pseudoselector due to lack of browser support. Instead we have to rely on
84101
the developer setting <html dir="rtl"> to detect if we're in RTL mode. */
85102
html[dir=rtl] td.col-justify-end {
@@ -91,6 +108,10 @@ html[dir=rtl] .col-options {
91108
right: 0;
92109
}
93110

111+
html[dir=rtl] td.col-justify-start {
112+
text-align: right;
113+
}
114+
94115
html[dir=rtl] .col-justify-end .col-options {
95116
right: unset;
96117
left: 0;

0 commit comments

Comments
 (0)