From 29a71cf828e90f89385d9b6bd2e68a1490a187c9 Mon Sep 17 00:00:00 2001 From: Mia Heidenstedt Date: Wed, 2 Nov 2022 09:04:23 +0100 Subject: [frontend] Fix #923 and markdown css (#925) * fix url in CONTRIBUTING.md * prevent img from overflow and allow to center the img * fix #923 and guide browser to select entire username --- web/source/css/profile.css | 1 + web/source/css/status.css | 8 ++++++++ 2 files changed, 9 insertions(+) (limited to 'web/source/css') diff --git a/web/source/css/profile.css b/web/source/css/profile.css index e4763f303..1f76d5d03 100644 --- a/web/source/css/profile.css +++ b/web/source/css/profile.css @@ -126,6 +126,7 @@ main { word-break: break-all; text-overflow: ellipsis; overflow: hidden; + user-select: all; } } diff --git a/web/source/css/status.css b/web/source/css/status.css index ff5cc2836..5b9900472 100644 --- a/web/source/css/status.css +++ b/web/source/css/status.css @@ -178,6 +178,14 @@ main { -webkit-overflow-scrolling: touch; } } + + img { + max-width: 100%; + margin: 5px auto; + } + img[alt~="!center"] { + display: block; + } } .emoji { -- cgit v1.2.3