forked from rDrama/rDrama
fix overflow issues once and for all
parent
6f6b8ec641
commit
9c19c443e7
|
@ -524,7 +524,6 @@ pre {
|
||||||
pre code {
|
pre code {
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
word-break: normal;
|
|
||||||
}
|
}
|
||||||
.container {
|
.container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -2016,7 +2015,6 @@ button.close {
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
letter-spacing: normal;
|
letter-spacing: normal;
|
||||||
word-break: normal;
|
|
||||||
word-spacing: normal;
|
word-spacing: normal;
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
line-break: auto;
|
line-break: auto;
|
||||||
|
@ -2064,7 +2062,6 @@ button.close {
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
letter-spacing: normal;
|
letter-spacing: normal;
|
||||||
word-break: normal;
|
|
||||||
word-spacing: normal;
|
word-spacing: normal;
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
line-break: auto;
|
line-break: auto;
|
||||||
|
@ -3404,10 +3401,6 @@ a.text-danger:hover, a.text-danger:focus, :not(td) > a[href="/h/chudrama"]:focus
|
||||||
.text-decoration-none {
|
.text-decoration-none {
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
}
|
}
|
||||||
.text-break {
|
|
||||||
word-break: break-word !important;
|
|
||||||
overflow-wrap: break-word !important;
|
|
||||||
}
|
|
||||||
.visible {
|
.visible {
|
||||||
visibility: visible !important;
|
visibility: visible !important;
|
||||||
}
|
}
|
||||||
|
@ -3949,7 +3942,6 @@ small, .small {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
word-break: keep-all;
|
|
||||||
min-width: 40px;
|
min-width: 40px;
|
||||||
}
|
}
|
||||||
.voting.d-md-flex {
|
.voting.d-md-flex {
|
||||||
|
@ -4251,7 +4243,6 @@ small, .small {
|
||||||
.post-title {
|
.post-title {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
word-break: break-word;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.post-title a {
|
.post-title a {
|
||||||
|
@ -4311,7 +4302,6 @@ small, .small {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
.post-body {
|
.post-body {
|
||||||
word-break: break-word;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.modal-backdrop.show {
|
.modal-backdrop.show {
|
||||||
|
@ -4561,7 +4551,6 @@ small, .small {
|
||||||
}
|
}
|
||||||
.comment .comment-body .comment-text {
|
.comment .comment-body .comment-text {
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
word-break: break-word;
|
|
||||||
color: var(--black);
|
color: var(--black);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding-right: 10px !important;
|
padding-right: 10px !important;
|
||||||
|
@ -4582,9 +4571,6 @@ small, .small {
|
||||||
.comment-section {
|
.comment-section {
|
||||||
background-color: rgb(var(--background));
|
background-color: rgb(var(--background));
|
||||||
}
|
}
|
||||||
.comment p {
|
|
||||||
word-break: break-word;
|
|
||||||
}
|
|
||||||
.comment-actions {
|
.comment-actions {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
@ -4943,7 +4929,6 @@ ul.comment-section {
|
||||||
transform: translateX(1.25rem);
|
transform: translateX(1.25rem);
|
||||||
}
|
}
|
||||||
pre code {
|
pre code {
|
||||||
word-break: break-word;
|
|
||||||
white-space: break-spaces;
|
white-space: break-spaces;
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
}
|
}
|
||||||
|
@ -6065,10 +6050,6 @@ th, td {
|
||||||
color: green !important;
|
color: green !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#profile--bio a, #profile-mobile--bio a {
|
|
||||||
overflow-wrap: break-word;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content .nav-link {
|
#content .nav-link {
|
||||||
font-size: 0.85rem;
|
font-size: 0.85rem;
|
||||||
padding: 0.75rem 0.5rem;
|
padding: 0.75rem 0.5rem;
|
||||||
|
@ -6637,7 +6618,6 @@ g {
|
||||||
{
|
{
|
||||||
display: block;
|
display: block;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
word-break: break-word;
|
|
||||||
/* Attempt to copy the textarea/input padding */
|
/* Attempt to copy the textarea/input padding */
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
|
@ -6805,7 +6785,6 @@ blockquote + blockquote, div > blockquote:first-child, blockquote:last-child {
|
||||||
div.markdown {
|
div.markdown {
|
||||||
height: auto;
|
height: auto;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
word-break: break-word;
|
|
||||||
}
|
}
|
||||||
@media (max-width: 768px) or (min-width: 992px) {
|
@media (max-width: 768px) or (min-width: 992px) {
|
||||||
#sidebar-btn {
|
#sidebar-btn {
|
||||||
|
@ -6960,7 +6939,6 @@ div.markdown {
|
||||||
position: relative;
|
position: relative;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
overflow-wrap: anywhere;
|
|
||||||
padding: 1rem 1rem 1rem 1rem;
|
padding: 1rem 1rem 1rem 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7607,10 +7585,6 @@ bdi {
|
||||||
color: rgb(var(--background)) !important;
|
color: rgb(var(--background)) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
label.btn.btn-secondary > span {
|
|
||||||
word-break: break-word;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
@ -7623,3 +7597,8 @@ body {
|
||||||
.toggle-reply-mobile > i {
|
.toggle-reply-mobile > i {
|
||||||
margin-top: 0.35rem !important;
|
margin-top: 0.35rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
word-break: break-word !important;
|
||||||
|
overflow-wrap: break-word !important;
|
||||||
|
}
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>{{hat.name}}</td>
|
<td>{{hat.name}}</td>
|
||||||
<td style="word-break:break-word">{{hat.censored_description(v)}}</td>
|
<td>{{hat.censored_description(v)}}</td>
|
||||||
{% if SITE == 'rdrama.net' %}
|
{% if SITE == 'rdrama.net' %}
|
||||||
<td>{% include "user_in_table.html" %}</td>
|
<td>{% include "user_in_table.html" %}</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue