Commit graph

2113 commits

Author SHA1 Message Date
Florian Heft
14775734fa Fixed NSFW image blur spilling outside the preview
* Hide overflow of wrapping picture element
  to contain the blur of the inner img element.
* This aligns the visible image area to the
  clickable area.
* fixes #1245
2023-06-14 10:11:27 +02:00
Florian Heft
20c3b6bfb3 Recompiled theme files using latest Bootstrap 4
* Rebuild the existing theme files using the
  new build system (93f00c9e).
* Files should be functionally the same apart
  from possibly some Bootstrap fixes. Most
  of the diff is reordering and formatting
  (e.g. color values).
2023-06-14 01:14:18 +02:00
Florian Heft
a170a0cc74 Added npm scripts to rebuild theme files
* Add Bootstrap 4 dependency
* Add scripts to compile theme files using SASS
* Remove circular dependency of theme variables
  and Bootstrap base variables
2023-06-14 01:14:18 +02:00
SleeplessOne1917
f61037f5d8
Merge pull request #1237 from Zetaphor/patch-1 2023-06-13 22:42:59 +00:00
Zetaphor
31257b9dd4
Add title to pictrs-image
This adds a title tag to images, uses the alt tag value. This improves accessibility for sighted users and screen readers.
2023-06-13 12:24:15 -05:00
cmp
0d67c64af9
Make the community title in the sidebar link to the local community. (#1161)
* Make the community title in the sidebar link to the local community.

* Ternary erudaStr for PR.

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-13 06:34:21 -04:00
SleeplessOne1917
5f5ef404d2
Fix prompt component (#1223)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-13 06:33:27 -04:00
SleeplessOne1917
2053c4e4e1
Fix mobile menu collapse bug (#1222) 2023-06-12 22:24:24 -04:00
SleeplessOne1917
0197c2a0fc
Merge pull request #1195 from fheft/fix-button-click-area
Fix unclickable button paddings
2023-06-12 23:11:20 +00:00
SleeplessOne1917
8dedeb6824
Merge branch 'main' into fix-button-click-area 2023-06-12 23:02:28 +00:00
SleeplessOne1917
b7f5c0e43e
Merge pull request #1210 from alectrocute/avatar-aspect-ratio-fix
Fix avatar/icon aspect ratio
2023-06-12 21:15:18 +00:00
SleeplessOne1917
800c1655fe
Merge branch 'main' into avatar-aspect-ratio-fix 2023-06-12 21:12:49 +00:00
Dessalines
a605c72859
Another try at sanitize. (#1208)
* Sanitize again.

* Adding sanitize json function.

* Using serialize instead.
2023-06-12 16:17:57 -04:00
Raymond Berger
de230a5e2f
remove unused theme files (#1202)
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-12 14:57:52 -04:00
Raymond Berger
105bbe4460
issue templates in yml format (#1211)
* add BUG_REPORT.yml

* remove .md file

* fix keys

* cleanup description

* add question.yml

* add hexbear.yml

* remove title

* feature request yml
2023-06-12 14:49:53 -04:00
SleeplessOne1917
a7450325a1
Make preview button say "edit" when in preview mode (#1164)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-12 14:14:03 -04:00
SleeplessOne1917
1f12ce9790
Add shortcut for submitting post (#1163)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-12 14:13:33 -04:00
Alec Armbruster
636d87e4cc
Merge branch 'main' into avatar-aspect-ratio-fix 2023-06-12 13:10:25 -04:00
Alec Armbruster
0d868d9005
format with prettier 2023-06-12 13:09:50 -04:00
Alec Armbruster
1aa934584f
add .img-cover class, implement 2023-06-12 13:00:18 -04:00
SleeplessOne1917
3438dac98b
Merge branch 'main' into fix-button-click-area 2023-06-12 14:33:28 +00:00
Ikko Eltociear Ashimine
b0b3d526cf
Fix typo in post-listing.tsx (#1181)
recieve -> receive
2023-06-12 10:05:36 -04:00
Florian Heft
170949f34f Fixed unclickable button paddings
* Remove the wrapping <button> element that
  visually seems clickable but has no click
  handling (only its child link can be
  clicked)
* fixes #1193
2023-06-12 11:40:44 +02:00
SleeplessOne1917
d56addf7d6
Merge pull request #1176 from MageJohn/main 2023-06-12 08:50:16 +00:00
Yuri Pieters
10a29f053f Set html lang attr to the interface language 2023-06-12 00:26:01 +01:00
SleeplessOne1917
c4f45c503b
Merge pull request #1185 from MageJohn/run-prettier 2023-06-11 23:24:43 +00:00
Yuri Pieters
6462cd5208 Run prettier 2023-06-11 22:47:57 +01:00
SleeplessOne1917
b6841b49ae
Merge pull request #1173 from alectrocute/collapse-expand-align-comment
Left-align comment collapse/expand button
2023-06-11 14:16:38 +00:00
Alec Armbruster
d1d18cf4c3
Merge branch 'collapse-expand-align-comment' of https://github.com/alectrocute/lemmy-ui into collapse-expand-align-comment 2023-06-11 10:06:27 -04:00
Alec Armbruster
5932fadc3a
make suggested change 2023-06-11 10:06:10 -04:00
SleeplessOne1917
1a30821a12
Merge branch 'main' into collapse-expand-align-comment 2023-06-11 14:01:24 +00:00
Alec Armbruster
b90c0b2bbe
move expand/collapse button 2023-06-11 09:53:08 -04:00
SleeplessOne1917
8f3a43d352
Merge pull request #1170 from MageJohn/main 2023-06-11 13:19:50 +00:00
Yuri Pieters
009bba35a5 Specify package manager version in package.json
This setting is picked up by Corepack, and it's a way for others to concretely know which package manager they should use.
2023-06-11 13:37:53 +01:00
SleeplessOne1917
42d6b11aea
Merge pull request #1145 from Adam-Shea/main
Added additional keybinds
2023-06-10 12:15:03 +00:00
Adam Shea
1f118e8bcc
Remove unnecessary comments 2023-06-10 12:12:48 +00:00
Adam Shea
cc64f71072
Added additional keybinds 2023-06-10 09:15:22 +00:00
SleeplessOne1917
6227b63ad0
Merge pull request #1125 from skspade/1078-language-select-disable-warning
fix: Adds ability to hide language warning
2023-06-10 01:00:34 +00:00
SleeplessOne1917
cd6a2f47a1
Merge branch 'main' into 1078-language-select-disable-warning 2023-06-10 00:58:04 +00:00
SleeplessOne1917
ca74081a56
Merge pull request #1140 from fheft/hide_saved_profile_tab
Only show 'saved' tab on own profile page
2023-06-10 00:50:14 +00:00
Florian Heft
b54be0586d Only show 'saved' tab on own profile page
* Users can't view saved posts of other users.
* fixes #1090
2023-06-10 01:08:08 +02:00
SleeplessOne1917
5e51441ce7
Merge pull request #1136 from Adam-Shea/main 2023-06-09 22:29:47 +00:00
Adam Shea
400f345182
Added Ctrl-K keybind 2023-06-09 21:30:12 +00:00
SleeplessOne1917
2c9fd462b2
Merge branch 'main' into 1078-language-select-disable-warning 2023-06-09 16:41:28 +00:00
2a5c690bdc
Fix quotes (#1131)
Need to replace before rendering markdown, not after
2023-06-09 09:00:45 -04:00
4867e455f8
Alternative way to sanitize isoData (#1129)
* Alternative way to sanitize isoData

* use split/join instead of replaceAll

* Use sanitize, then restore > chars for markdown render
2023-06-09 08:17:02 -04:00
Sean Spade
23c4b685ed chore: switched to enabling language warning by prop rather than disabling 2023-06-08 23:36:35 -04:00
Sean Spade
9d45b4afe3 fix: Adds ability to hide language warning 2023-06-08 23:36:35 -04:00
SleeplessOne1917
50a8f40187
Merge pull request #1118 from mr00z/main 2023-06-08 19:34:34 +00:00
Marcin Mróz
7366846849 styles(#1067): Run prettier 2023-06-08 21:08:28 +02:00