Skip to content
Snippets Groups Projects
Commit 10e6812e authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2310321 by corbacho, herom: Fixed CSS for RTL messages.

parent 615f5644
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -536,7 +536,7 @@ ul.tabs { ...@@ -536,7 +536,7 @@ ul.tabs {
} }
[dir="rtl"] .messages { [dir="rtl"] .messages {
border-width: 1px 0 1px 1px; border-width: 1px 0 1px 1px;
background-position-x: 99%; background-position: right 10px top 18px;
padding-left: 20px; padding-left: 20px;
padding-right: 35px; padding-right: 35px;
text-align: right; text-align: right;
...@@ -562,10 +562,11 @@ ul.tabs { ...@@ -562,10 +562,11 @@ ul.tabs {
margin-left: 8px; /* LTR */ margin-left: 8px; /* LTR */
} }
[dir="rtl"] .messages--status { [dir="rtl"] .messages--status {
background-position: 99.3% 19px; background-position: right 12px top 19px;
border-color: #c9e1bd transparent #c9e1bd #c9e1bd; border-color: #c9e1bd transparent #c9e1bd #c9e1bd;
box-shadow: 8px 0 0 #77b259; box-shadow: 8px 0 0 #77b259;
margin-right: 8px; margin-right: 8px;
margin-left: 0;
} }
.messages--status, .messages--status,
.ok { .ok {
......
...@@ -1287,7 +1287,8 @@ div.tabs { ...@@ -1287,7 +1287,8 @@ div.tabs {
background: #f0f0f0; background: #f0f0f0;
background: rgba(30, 50, 10, 0.08); background: rgba(30, 50, 10, 0.08);
} }
div.messages { div.messages,
[dir="rtl"] div.messages {
margin: 8px 15px; margin: 8px 15px;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment