Skip to content

Commit 40a4dd8

Browse files
committed
reg: remove some style hints to make line break in resource names work
1 parent d87093f commit 40a4dd8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
1.1.1
2+
- reg: remove some style hints to make line break in resource names work
13
1.1.0
24
- feat: improve resource listing to show full resource names
35
1.0.0

ckanext/dcor_theme/cli/patch_ckan_templates.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ def patch_wider_resource_listing():
3636
f'<a {st} href="'),
3737
('<a class="flex-fill" href="',
3838
f'<a class="flex-fill" {st} href="'),
39+
# remove d-flex which breaks the word-wrap hack
40+
('<li class="nav-item d-flex justify-content-between position-relative">', # noqa: E501
41+
'<li class="nav-item justify-content-between position-relative">'
42+
),
3943
]:
4044
data_res = data_res.replace(old, new)
4145
path_template_res.write_text(data_res)

0 commit comments

Comments
 (0)