File tree Expand file tree Collapse file tree 5 files changed +65
-3
lines changed
Expand file tree Collapse file tree 5 files changed +65
-3
lines changed Original file line number Diff line number Diff line change @@ -189,6 +189,7 @@ img {
189189.widget .widget--body + .widget--header {
190190 border-top : 1px solid #d0d9dd ;
191191}
192+
192193.widget.is-tertiary .widget--body + .widget--header {
193194 border-top : 1px solid #9daeb7 ;
194195}
@@ -197,6 +198,10 @@ img {
197198 margin-left : 0.75em ;
198199}
199200
201+ .widget--body , .widget-body p {
202+ overflow-wrap : break-word ;
203+ }
204+
200205pre {
201206 background : #f0f0f0 ;
202207 border : 0 ;
@@ -216,7 +221,10 @@ pre .hljs {
216221table {
217222 border-collapse : collapse ;
218223 padding : 4px ;
219- max-width : 100%
224+ max-width : 100% ;
225+ td {
226+ overflow-wrap : anywhere;
227+ }
220228}
221229
222230table .is-full-width {
@@ -269,3 +277,12 @@ img.header--item-image {
269277.widget--header-link {
270278 margin : 0 0 0 0.5em ;
271279}
280+
281+ mjx-assistive-mml {
282+ max-width : 100% ;
283+ }
284+
285+ mjx-container {
286+ overflow-x : auto ;
287+ overflow-y : hidden ;
288+ }
Original file line number Diff line number Diff line change 2525
2626.badge.is-tag {
2727 margin : 0.1rem ;
28+ max-width : 100% ;
2829}
2930
3031h1 .badge.is-tag.is-master-tag {
@@ -40,12 +41,24 @@ h1 .badge.is-tag.is-master-tag {
4041 font-size : 14px ;
4142}
4243
44+ .post-list--tags {
45+ max-width : 100% ;
46+ }
47+
4348.post-list--title {
4449 font-size : 19px ;
50+ width : 100% ;
51+ a {
52+ display : inline-block ;
53+ width : 100% ;
54+ overflow-wrap : break-word ;
55+ }
4556}
4657
4758.post-list--content {
4859 font-size : 14px ;
60+ width : 100% ;
61+ overflow-wrap : break-word ;
4962}
5063
5164.post--action-dialog {
@@ -81,6 +94,13 @@ h1 .badge.is-tag.is-master-tag {
8194 padding : 1em ;
8295 border-bottom : 1px solid $muted-graphic ;
8396 margin-bottom : 1em ;
97+
98+ width : 100% ;
99+ overflow-wrap : break-word ;
100+
101+ * {
102+ max-width : 100% ;
103+ }
84104}
85105
86106.post-field.widget--body {
@@ -116,6 +136,10 @@ h1 .badge.is-tag.is-master-tag {
116136 align-items : center ;
117137 flex-direction : column-reverse ;
118138
139+ .post--title-text {
140+ width : 100% ;
141+ }
142+
119143 @media screen and (min-width : $screen-md ) {
120144 flex-direction : row ;
121145
@@ -196,10 +220,15 @@ h1 .badge.is-tag.is-master-tag {
196220.post--content {
197221 flex : 1 ;
198222 word-break : break-word ;
223+
224+ * {
225+ max-width : 100% ;
226+ }
199227
200228 @media screen and (min-width : $screen-sm ) {
201229 max-width : calc (100% - 3em );
202230 }
231+
203232}
204233
205234.post--body p {
@@ -216,3 +245,7 @@ pre code.hljs {
216245.failed-validation {
217246 border : 2px solid #d21919 !important ;
218247}
248+
249+ .js-thread-title {
250+ overflow-wrap : break-word ;
251+ }
Original file line number Diff line number Diff line change @@ -169,6 +169,13 @@ div:hover > .copy-button {
169169}
170170
171171.diff {
172+ .diff-section {
173+ .diff-old ,
174+ .diff-new {
175+ overflow : scroll ;
176+ }
177+ }
178+
172179 .raw-markdown {
173180 white-space : unset ;
174181 }
@@ -184,6 +191,7 @@ div:hover > .copy-button {
184191
185192 del , ins {
186193 text-decoration : none ;
194+ overflow-wrap : break-word ;
187195 }
188196
189197 del > strong {
@@ -289,3 +297,7 @@ span.spoiler {
289297.transparent {
290298 opacity : 0 ;
291299}
300+
301+ .wrap-anywhere {
302+ overflow-wrap : anywhere;
303+ }
Original file line number Diff line number Diff line change 5454 by <%= user_link active_user %>
5555 <% end %>
5656 </ p >
57- < div class ="has-padding-top-2 ">
57+ < div class ="has-padding-top-2 post-list--tags ">
5858 <% category = defined? ( @category ) ? @category : post . category %>
5959 <% if @show_type_tag || category . display_post_types . reject { |e | e . to_s . empty? } . size > 1 %>
6060 <%= post_type_badge ( post . post_type ) %>
Original file line number Diff line number Diff line change 11<% content_for :title, "Posts tagged #{@tag.name}" %>
22
33 <h1 class ="has-margin-0 has-margin-top-4 ">
4- Posts tagged < span class ="<%= tag_classes ( @tag , @category ) %> is-large "> <%= @tag . name %> </ span >
4+ Posts tagged < span class ="<%= tag_classes ( @tag , @category ) %> is-large wrap-anywhere "> <%= @tag . name %> </ span >
55 <% if moderator? %>
66 < a href ="# " class ="has-font-size-caption js-rename-tag h-m-r-2 "
77 data-category ="<%= @category . id %> " data-tag ="<%= @tag . id %> " data-name ="<%= @tag . name %> "
You can’t perform that action at this time.
0 commit comments