Fix some RTL issues in help modals (#2857)
* Fix RTL position of close button in help modals * Fix position of active button's border * Fix margin of modal's title * Fix alignment of modal buttons' text * Add missing translation
This commit is contained in:
parent
75febab401
commit
e2e9e37a31
@ -18,3 +18,5 @@ help-no-explanation =
|
|||||||
|
|
||||||
# Link to more detailed information in the manual
|
# Link to more detailed information in the manual
|
||||||
help-for-more-info = For more information, see { $link } in the manual.
|
help-for-more-info = For more information, see { $link } in the manual.
|
||||||
|
|
||||||
|
help-ok = OK
|
||||||
|
@ -141,7 +141,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" on:click={onOkClicked}>
|
<button type="button" class="btn btn-primary" on:click={onOkClicked}>
|
||||||
OK
|
{tr.helpOk()}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -154,7 +154,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||||||
}
|
}
|
||||||
|
|
||||||
.modal-title {
|
.modal-title {
|
||||||
margin-right: 0.75rem;
|
margin-inline-end: 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.manual-badge {
|
.manual-badge {
|
||||||
@ -185,7 +185,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||||||
display: block;
|
display: block;
|
||||||
padding: 0.5rem 0.75rem;
|
padding: 0.5rem 0.75rem;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-align: left;
|
text-align: start;
|
||||||
min-width: 250px;
|
min-width: 250px;
|
||||||
background-color: var(--canvas);
|
background-color: var(--canvas);
|
||||||
border: none;
|
border: none;
|
||||||
@ -195,7 +195,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||||||
background-color: var(--canvas-inset);
|
background-color: var(--canvas-inset);
|
||||||
}
|
}
|
||||||
&.active {
|
&.active {
|
||||||
border-left: 4px solid var(--border-focus);
|
border-inline-start: 4px solid var(--border-focus);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -27,3 +27,8 @@ input {
|
|||||||
html {
|
html {
|
||||||
height: initial;
|
height: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[dir="rtl"] .modal-header .btn-close {
|
||||||
|
padding: 1rem 1rem !important;
|
||||||
|
margin: -1rem auto -1rem -1rem !important;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user