Skip to content

Commit

Permalink
user_state_web_font_added
Browse files Browse the repository at this point in the history
  • Loading branch information
Lungsangg committed Jan 29, 2025
1 parent 18c4b06 commit ecd162b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions static/css/s2.css
Original file line number Diff line number Diff line change
Expand Up @@ -14570,6 +14570,10 @@ body .homeFeedWrapper.userStats {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.user_state {
font-family: var(--hebrew-serif-font-family);
}

.userStatModeButton {
background-color: #fff;
color: #666;
Expand Down
2 changes: 1 addition & 1 deletion static/js/UserStats.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const UserStatModeChooser = ({modes, activeMode, setMode}) => (
const UserStatModeButton = ({thisMode, activeMode, setMode}) => (
<div className={"userStatModeButton" + (thisMode === activeMode?" active":"")}
onClick ={()=>setMode(thisMode)}>
<span>{Sefaria._(thisMode)}</span>
<span className='user_state'>{Sefaria._(thisMode)}</span>
</div>
);

Expand Down

0 comments on commit ecd162b

Please sign in to comment.