Skip to content

Commit

Permalink
[4.0] Skipto RTL
Browse files Browse the repository at this point in the history
Updates the RTL override for the skipto plugin to prevent a bug where 3000em were added to the left of the template.

Hopefully this will be fixed upstream eventually and this can be removed then
  • Loading branch information
brianteeman committed Feb 19, 2021
1 parent 52fc4b8 commit cbeb9de
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
14 changes: 12 additions & 2 deletions administrator/templates/atum/scss/template-rtl.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,18 @@ ul {
}

// skipto
.skip-to [role="separator"] {
text-align: right !important;
.skip-to {
&.popup {
left: 0 !important;
right: -3000em;
&.focus {
left: 0 !important;
right: 46%;
}
}
[role="separator"] {
text-align: right !important;
}
}

// SearchTools rounded corners
Expand Down
14 changes: 12 additions & 2 deletions templates/cassiopeia/scss/template-rtl.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,18 @@ body,
}

// skipto
.skip-to [role="separator"] {
text-align: right !important;
.skip-to {
&.popup {
left: 0 !important;
right: -3000em;
&.focus {
left: 0 !important;
right: 46%;
}
}
[role="separator"] {
text-align: right !important;
}
}

// SearchTools rounded corners
Expand Down

0 comments on commit cbeb9de

Please sign in to comment.