File tree Expand file tree Collapse file tree 4 files changed +12
-1
lines changed
Expand file tree Collapse file tree 4 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## v0.3.4 - 2025-03-28
4+
5+ * 📝 Set the width to the emoji cell of nekochan emoji list
6+
37## v0.3.3 - 2025-03-22
48
59* 📝 Add search function to nekochan emoji list(by [ List.js] ( https://listjs.com/ ) )
Original file line number Diff line number Diff line change 11"""sphinx-nekochan emoji extension"""
22
3- __version__ = "0.3.3 "
3+ __version__ = "0.3.4 "
44
55from functools import cache
66from importlib import resources
@@ -191,9 +191,11 @@ def run(self) -> list[nodes.Node]:
191191
192192 return node_list
193193
194+
194195 def create_table_header (self ) -> nodes .Node :
195196 """create table and table header node"""
196197 table = nodes .table ()
198+ # table["classes"] += ["colwidths-given"]
197199
198200 tgroup = nodes .tgroup (cols = 3 )
199201 table += tgroup
@@ -209,6 +211,8 @@ def create_table_header(self) -> nodes.Node:
209211 row = nodes .row ()
210212 thead += row
211213 cell = nodes .entry ()
214+ # add class for setting emoji width
215+ cell ["classes" ].append ("width-64px" )
212216 row += cell
213217 cell += nodes .Text ("Emoji" , "Emoji" )
214218 cell = nodes .entry ()
Original file line number Diff line number Diff line change 2121.nekochan-flip-both {
2222 transform : scale (-1 );
2323}
24+ .width-64px {
25+ width : 64px ;
26+ }
2427
2528/* https://www.cssportal.com/css-tooltip-generator/ */
2629[data-tooltip ] {
You can’t perform that action at this time.
0 commit comments