Commit graph

27 commits

Author SHA1 Message Date
Anton Khorev
a05692a3f6 Restore loading spinner in richtext previews 2024-11-08 15:04:38 +03:00
Anton Khorev
566fb06709 Don't show older/newer buttons if all items fit on one page 2024-10-21 14:51:35 +03:00
Anton Khorev
cb65cd9adc Guess translation scope from controller name if not provided 2024-09-10 10:51:50 +03:00
Anton Khorev
7633657ecb Pass translation scope instead of keys to shared pagination 2024-09-10 10:37:36 +03:00
Anton Khorev
52324cba89 Disable turbo on all links inside pagination frames except older/newer 2024-08-23 15:00:55 +03:00
Tom Hughes
edddaab122 Use turbo for pagination 2024-08-20 14:44:10 +01:00
Anton Khorev
8401cd0d14 Move help card between pane/sidebar depending on sidebar visibility 2024-08-08 07:23:49 +03:00
Anton Khorev
fb0f955651 Add richtext help tab 2024-08-08 07:23:49 +03:00
Anton Khorev
1adb5caf99 Remove unused richtext dom ids 2024-08-08 05:56:56 +03:00
Anton Khorev
8103eb18ab Remove .richtext_preview css class 2024-08-08 05:56:06 +03:00
Anton Khorev
6ebf98255c Remove .richtext_content css class 2024-08-08 03:20:57 +03:00
Anton Khorev
69122afe78 Remove .richtext_dopreview css class 2024-08-08 03:16:50 +03:00
Anton Khorev
259437728e Switch between richtext edit/preview using Bootstrap tab panes 2024-08-03 04:52:41 +03:00
Anton Khorev
ef5352332e Convert richtext edit/preview buttons into tabs 2024-08-03 04:52:13 +03:00
Anton Khorev
2ba7eab67d Change richtext edit/preview buttons type to non-submit 2024-08-03 04:52:13 +03:00
Emin Kocan
9e99fa05c9 add _section_divider component utilizing hr tags 2024-06-27 18:52:56 +02:00
Anton Khorev
18cd0b99cd Use .icon-link in shared pagination 2024-04-16 18:23:24 +03:00
Anton Khorev
e26dcf7a72 Replace bg-light with bg-body-tertiary 2024-04-11 03:34:27 +03:00
Anton Khorev
ebbebf8e57 Add previous/next page arrows to newer/older pagination 2024-01-20 06:03:56 +03:00
Altilunium
47e56741d0 Add code blocks markdown guidance
Closes #4441
2023-12-29 19:08:57 +00:00
Anton Khorev
e143726f1a Combine comments and traces pagination partials 2023-09-09 14:33:59 +03:00
Andy Allan
2771921cb1 Rework shared kramdown instructions to avoid html in translations 2023-03-08 16:09:27 +00:00
Andy Allan
2080696fe6 Bootstrap 5: Remove use of form-row class
This has been replaced by simple `row` class in v5. We can also use the
gx-N classes here, which tighten up the horizontal gutter sizes for
space-constrained forms.
2022-07-20 14:41:41 +01:00
Andy Allan
78bf2993e4 Refactor richtext fields to use a custom bootstrap_form input.
This allows us to use form_group_builder and get all the label and
help text handling in line with other bootstrap_form inputs.
2021-01-13 14:05:39 +00:00
Andy Allan
ed07e17ca2 Align the richtext help text height with the height of the textarea.
This works by setting the card to the same height as its containing flexbox. For perfect alignment, we need to make sure the extra margin at the bottom of the text-area stops applying when they are shown side by side.
2021-01-13 10:12:15 +00:00
Tobias Jordans
b470e01f84 Break long URLs where richtext is used.
For example on the blog post show page.

This uses https://getbootstrap.com/docs/4.4/utilities/text/#word-break to break long URLs on the blog post show view.
2020-12-27 22:11:36 +01:00
Andy Allan
547459314b Refactor diary entry forms to use a custom form builder 2020-12-24 13:32:41 +00:00