My project involves having two CSS files, both compiled from SASS, that cater to right-to-left (RTL) and left-to-right (LTR) designs. Additionally, there are two separate HTML files, each referencing the corresponding CSS file:
RTL:
<link rel="stylesheet" href="/css/ltr/app.css" />
LTR:
<link rel="stylesheet" href="/css/rtl/app.css" />
In both HTML files, the dropdown is represented in the same way:
<a href="#" data-dropdown="some-dropdown" class="tiny content radius button dropdown">
The issue arises when using the LTR CSS file - the dropdown remains open no matter where I click. However, this problem does not occur with the RTL CSS file.
Does anyone have any ideas on how to fix this?
Thank you,
Dana