fix grid col overflow in right sidebar in safari (#16771)

This commit is contained in:
Suzanne Aitchison 2022-03-03 13:51:16 +00:00 committed by GitHub
parent db288c0b4b
commit 33488ba88e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -5,6 +5,8 @@
background: var(--card-bg);
color: var(--card-color);
box-shadow: 0 0 0 1px var(--card-border);
// overflow-wrap: anywhere isn't supported in Safari, in which case this fallback applies
overflow-wrap: break-word;
overflow-wrap: anywhere;
&--secondary {

View file

@ -11,7 +11,7 @@
<%= render "articles/sidebar_listings" if Listing.feature_enabled? %>
<% Settings::General.sidebar_tags.each do |tag| %>
<section class="crayons-card crayons-card--secondary">
<section class="crayons-card crayons-card--secondary crayons-layout__content">
<header class="crayons-card__header">
<h3 class="crayons-subtitle-2"><a href="/t/<%= tag %>" class="crayons-link">#<%= tag %></a></h3>
</header>