chore: enforce RTL-friendly logical CSS properties with a linter (#12491)
Related issue: https://codeberg.org/forgejo/forgejo/issues/8581 This should be a nice first step towards RTL support. Future PRs can look at updating the tailwind classes, changing some of the icons (arrow left might need to become arrow right in some cases for example, and updating the template files) Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12491 Reviewed-by: 0ko <0ko@noreply.codeberg.org>
This commit is contained in:
+10
-10
@@ -15,18 +15,18 @@
|
||||
width: 800px !important;
|
||||
}
|
||||
.organization.new.org form .header {
|
||||
padding-left: 280px !important;
|
||||
padding-inline-start: 280px !important;
|
||||
}
|
||||
.organization.new.org form .inline.field > label {
|
||||
text-align: right;
|
||||
text-align: end;
|
||||
width: 250px !important;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.organization.new.org form .help {
|
||||
margin-left: 265px !important;
|
||||
margin-inline-start: 265px !important;
|
||||
}
|
||||
.organization.new.org form .optional .title {
|
||||
margin-left: 250px !important;
|
||||
margin-inline-start: 250px !important;
|
||||
}
|
||||
.organization.new.org form .inline.field > input,
|
||||
.organization.new.org form .inline.field > textarea {
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
.organization.new.org form .optional .title {
|
||||
margin-left: 15px;
|
||||
margin-inline-start: 15px;
|
||||
}
|
||||
.organization.new.org form .inline.field > label {
|
||||
display: block;
|
||||
@@ -44,7 +44,7 @@
|
||||
}
|
||||
|
||||
.organization.new.org form .header {
|
||||
padding-left: 0 !important;
|
||||
padding-inline-start: 0 !important;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -151,7 +151,7 @@
|
||||
.page-content.organization .members .ui.avatar {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
margin-right: 5px;
|
||||
margin-inline-end: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
@@ -161,12 +161,12 @@
|
||||
}
|
||||
|
||||
.organization.invite #invite-box #search-user-box input {
|
||||
margin-left: 0;
|
||||
margin-inline-start: 0;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.organization.invite #invite-box .ui.button {
|
||||
margin-left: 5px;
|
||||
margin-inline-start: 5px;
|
||||
margin-top: -3px;
|
||||
}
|
||||
|
||||
@@ -205,5 +205,5 @@
|
||||
|
||||
#add-member-modal .team-list {
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
overflow-block: auto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user