about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-06-25 22:42:01 +0200
committerGitHub <noreply@github.com>2020-06-25 22:42:01 +0200
commit1d2b0d2121550bf973e8a334cfa29c6d8749c52c (patch)
treecf746b157d988589ad7a5e904c18a5e90bc0ad79 /app/javascript/styles
parent8ed2f9409cb50421ebdaccb3f65228f0bd1b7764 (diff)
Fix design issues with sensitive preview cards (#14126)
* Fix design issues with sensitive preview cards

* Center “sensitive” label on preview image for interactive cards

* Add “button” role to sensitive preview card text
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/mastodon/components.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index fb9dca41b..2ff9073db 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -3003,6 +3003,7 @@ a.account__display-name {
 }
 
 .status-card {
+  position: relative;
   display: flex;
   font-size: 14px;
   border: 1px solid lighten($ui-base-color, 8%);