mirror of
https://github.com/rvtr/wiki.git
synced 2025-10-31 06:31:13 -04:00
Fix tabs in RTL
This commit is contained in:
parent
93590dbaba
commit
549b90c341
@ -546,22 +546,38 @@ a.footnote::after {
|
|||||||
transition: 150ms ease;
|
transition: 150ms ease;
|
||||||
|
|
||||||
@media screen and (min-width: 576px) {
|
@media screen and (min-width: 576px) {
|
||||||
&:not(:first-of-type) {
|
html[dir=ltr] & {
|
||||||
border-left-width: 0px;
|
&:not(:first-of-type) {
|
||||||
|
border-left-width: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:first-of-type {
|
||||||
|
border-top-left-radius: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:last-of-type {
|
||||||
|
border-top-right-radius: 0.25rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:first-of-type {
|
html[dir=rtl] & {
|
||||||
border-top-left-radius: 0.25rem;
|
&:not(:first-of-type) {
|
||||||
}
|
border-right-width: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
&:last-of-type {
|
&:first-of-type {
|
||||||
border-top-right-radius: 0.25rem;
|
border-top-right-radius: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:last-of-type {
|
||||||
|
border-top-left-radius: 0.25rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 575px) {
|
@media screen and (max-width: 575px) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
&:first-of-type {
|
&:first-of-type {
|
||||||
border-radius: 0.25rem 0.25rem 0 0;
|
border-radius: 0.25rem 0.25rem 0 0;
|
||||||
}
|
}
|
||||||
@ -576,8 +592,16 @@ a.footnote::after {
|
|||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid $borders;
|
border: 1px solid $borders;
|
||||||
border-radius: 0 0.25rem 0.25rem 0.25rem;
|
|
||||||
|
@media screen and (min-width: 576px) {
|
||||||
|
border-radius: 0 0.25rem 0.25rem 0.25rem;
|
||||||
|
|
||||||
|
html[dir=rtl] & {
|
||||||
|
border-radius: 0.25rem 0 0.25rem 0.25rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@media screen and (max-width: 575px) {
|
@media screen and (max-width: 575px) {
|
||||||
border-radius: 0 0 0.25rem 0.25rem;
|
border-radius: 0 0 0.25rem 0.25rem;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user