Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/translator/LanguageSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ const LangsDropdown = ({
</button>,
);
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did this change?

langCols.push(
<div className="language-name-col" key={i} style={{ width: `${100.0 / numCols}%` }}>
{langElems}
Expand Down
13 changes: 12 additions & 1 deletion src/components/translator/translator.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ html[dir='rtl'] .copy-text-button {

.language-name {
display: block;
padding: 0;
overflow-x: hidden;
position: relative;
text-overflow: ellipsis;
Expand All @@ -53,6 +52,18 @@ html[dir='rtl'] .copy-text-button {
text-align: unset;
}

.language-name:after {
content: '';
position: absolute;
left: 0;
right: 0;
height: 0.5px;
width: 100%;
background-color: black;
opacity: 30%;
display: block;
}

html[dir='ltr'] .language-name {
padding-left: 0.5em;
}
Expand Down