Skip to content

Commit

Permalink
refactor: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson committed Sep 7, 2024
1 parent 8819760 commit ec7b4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/picker/components/Picker/PickerTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export function render (container, state, helpers, events, actions, refs, abortS
</div>
<!--
Improve performance in custom emoji by using \`content-visibility: auto\` on every category
The \`--expected-num-rows\` is also used in these calculations to contain the intrinsic height
The \`--num-rows\` is also used in these calculations to contain the intrinsic height
-->
<div class="emoji-menu ${!state.searchMode && emojiWithCategory.category ? 'hide-offscreen' : ''}"
style=${`--num-rows: ${Math.ceil(emojiWithCategory.emojis.length / state.numColumns)}`}
Expand Down

0 comments on commit ec7b4ab

Please sign in to comment.