Serenity rtl support in versions with bootstrap 5 #6530
zainvegeta
started this conversation in
General
Replies: 4 comments 2 replies
-
ماذا فعلت فى حل هذة المشكله ؟ |
Beta Was this translation helpful? Give feedback.
0 replies
-
عندى مشكله فى سيرينتى فى كور 6 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Please use English in conversation. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on a project in need of rtl support.I enabled rtl support with following modifications in layout.cshtml
`@{
Func<string, HtmlString> json = x => new HtmlString(Serenity.JSON.Stringify(x));
var hideNav = (string)Context.Request.Query["hideNav"] == "1";
var themeCookie = Context.Request.Cookies["ProThemeSelection"];
var theme = themeCookie != null && !themeCookie.IsEmptyOrNull() ? themeCookie : "azure-light";
var sidebarPaneCollapsed = Context?.Request?.Cookies?["SidebarPaneCollapsed"] == "1" ? " s-sidebar-pane-collapsed" : "";
var lang = @System.Globalization.CultureInfo.CurrentUICulture.Name;
var dir = @System.Globalization.CultureInfo.CurrentCulture.TextInfo.IsRightToLeft ? "rtl" : "ltr";
}
`But seems there are few bugs in rtl mode.I am attaching the screenshots
Also sidebar and nav is not shifting to right side
Beta Was this translation helpful? Give feedback.
All reactions