-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
- .lang-select-action {
- width: 100px;
- }
- .lang-select-action:focus {
- width: auto;
- }
- em-emoji-picker {
+ .emoji-picker {
width: 100%;
}
+
+.skip-link {
+ top: -40px;
+ transition: top 0.3s ease;
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .skip-link {
+ transition: none;
+ }
+}
+
+.skip-link:focus {
+ top: 0;
+}
return (
<>
<Provider i18next={i18n}>
- <div id="app">
+ <div id="app" className="lemmy-site">
+ <a
+ className="skip-link bg-light text-dark p-2 text-decoration-none position-absolute start-0 z-3"
+ onClick={linkEvent(this, this.handleJumpToContent)}
+ >
+ ${i18n.t("jump_to_content", "Jump to content")}
+ </a>
{siteView && (
<Theme defaultTheme={siteView.local_site.default_theme} />
)}