Mirror of
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: Replace AI hallucination with proper RTL fix (#80)

* fix: proper RTL support

as previous was AI hallucination (lol)

* docs: changeset

* refactor: use global directive to make the llm code reviewer happy

authored by

Visual Ehrmanntraut and committed by
GitHub
c497245d a616a8ee

+12 -2
+5
.changeset/nice-pens-do.md
··· 1 + --- 2 + "starlight-sidebar-topics-dropdown": patch 3 + --- 4 + 5 + Fixed bug introduced by AI hallucination while trying to add RTL layout support
+7 -2
packages/starlight-sidebar-topics-dropdown/components/TopicsDropdown.astro
··· 106 106 padding: 0.3rem 0.5rem; 107 107 cursor: pointer; 108 108 width: 100%; 109 + --starlight-sidebar-topics-dropdown-gradient-direction: to right; 110 + } 111 + 112 + :global(html[dir="rtl"]) .starlight-sidebar-topics-dropdown-button { 113 + --starlight-sidebar-topics-dropdown-gradient-direction: to left; 109 114 } 110 115 111 116 .starlight-sidebar-topics-dropdown-button::before { ··· 122 127 )::before { 123 128 content: ""; 124 129 background-image: linear-gradient( 125 - to inline-end, 130 + var(--starlight-sidebar-topics-dropdown-gradient-direction), 126 131 var(--sl-color-text-accent) calc(1.4rem + 16px + 2px), 127 132 var(--sl-color-gray-5) 0 128 133 ); ··· 132 137 .starlight-sidebar-topics-dropdown-button-icon 133 138 ) { 134 139 background: linear-gradient( 135 - to inline-end, 140 + var(--starlight-sidebar-topics-dropdown-gradient-direction), 136 141 var(--sl-color-text-accent) calc(1.4rem + 16px), 137 142 var(--sl-color-gray-6) 0 138 143 );