Compare commits

...

2 commits

Author SHA1 Message Date
bf698987c3
client: fix mfm overflow again
Some checks failed
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/test Pipeline failed
This reverts commit 2d46cf7c1e.
This reverts commit ecca5a164e.
2023-07-10 22:58:37 +02:00
45112158b0
client: fix null is not a valid url 2023-07-10 21:29:34 +02:00
7 changed files with 9 additions and 4 deletions

View file

@ -88,6 +88,8 @@ const replies: foundkey.entities.Note[] = props.conversation?.filter(item => ite
}
> .body {
overflow: clip;
> .cw {
cursor: default;
display: block;

View file

@ -175,9 +175,6 @@ withDefaults(defineProps<{
<style lang="scss" scoped>
.havbbuyv {
white-space: pre-wrap;
display: inline-block;
vertical-align: top;
overflow: hidden;
&.nowrap {
white-space: pre;

View file

@ -441,6 +441,8 @@ if (appearNote.replyId) {
> .main {
> .body {
overflow: clip;
> .cw {
cursor: default;
display: block;

View file

@ -65,6 +65,7 @@ defineProps<{
}
> .body {
overflow: clip;
> .cw {
cursor: default;

View file

@ -72,6 +72,7 @@ const showContent = $ref(false);
}
> .body {
overflow: clip;
> .cw {
cursor: default;

View file

@ -420,6 +420,8 @@ function focusAfter() {
min-width: 0;
> .body {
overflow: clip;
> .cw {
cursor: default;
display: block;

View file

@ -73,7 +73,7 @@ fetch(`/url?url=${encodeURIComponent(requestUrl.href)}&lang=${requestLang}`).the
icon = info.icon;
sitename = info.sitename;
fetching = false;
if (['http:', 'https:'].includes(new URL(info.player.url).protocol)) {
if (info.player.url != null && ['http:', 'https:'].includes(new URL(info.player.url).protocol)) {
player = info.player;
}
});