Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix button group radius on rtl

Chocobozzz8963d3668f57
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss
index 22350b410d..ec501d5667 100644
--- a/client/src/sass/bootstrap.scss
+++ b/client/src/sass/bootstrap.scss
@@ -389,21 +389,29 @@ body {
> .btn:not(:last-child):not(.dropdown-toggle),
> .btn.dropdown-toggle-split:first-child,
> .btn-group:not(:last-child) > .btn {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
-
border-top-right-radius: var(--bs-border-radius);
border-bottom-right-radius: var(--bs-border-radius);
+
+ border-start-end-radius: 0;
+ border-end-end-radius: 0;
}
> .btn:nth-child(n+3),
> :not(.btn-check) + .btn,
> .btn-group:not(:first-child) > .btn {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
-
border-top-left-radius: var(--bs-border-radius);
border-bottom-left-radius: var(--bs-border-radius);
+
+ border-start-start-radius: 0 !important;
+ border-end-start-radius: 0 !important;
+ }
+
+ > :not(.btn-check:first-child) + .btn,
+ > .btn-group:not(:first-child) {
+ margin-left: 0;
+ margin-right: 0;
+
+ margin-inline-start: calc(-1 * var(--bs-border-width));
}
}
}