fix overflow

This commit is contained in:
Ryan Stafford 2024-06-02 21:11:37 -04:00
parent b1f3517c71
commit 7b88866454
3 changed files with 14 additions and 6 deletions

View file

@ -1,4 +1,4 @@
body, .side { body {
background-color: #262626; background-color: #262626;
color: #ddd; color: #ddd;
} }

View file

@ -146,6 +146,7 @@ summary {
color: #000; color: #000;
} }
.comment { .comment {
overflow: hidden;
font-size: 14px; font-size: 14px;
margin: 0px 0px 10px 0px; margin: 0px 0px 10px 0px;
border: 1px solid #e6e6e6; border: 1px solid #e6e6e6;
@ -226,6 +227,7 @@ summary {
.commentmenu { .commentmenu {
font-size: 16px; font-size: 16px;
margin: 0px 0px 10px 0px; margin: 0px 0px 10px 0px;
overflow: hidden;
} }
.commentmenu div { .commentmenu div {
border-top: 1px dotted gray; border-top: 1px dotted gray;
@ -367,6 +369,7 @@ form.nsfw div {
color: red; color: red;
font-size: 13px; font-size: 13px;
padding: 10px; padding: 10px;
overflow: hidden;
} }
.alert { .alert {
color: #8080FF; color: #8080FF;
@ -646,9 +649,8 @@ form.blockpost {
margin: 0 auto; margin: 0 auto;
font-size: 12px; font-size: 12px;
width: 300px; width: 300px;
padding: 0 5px; padding: 0 5px 0 10px;
margin-bottom: 10px; margin-bottom: 10px;
background-color: white;
border-radius: 0px 0px 0px 4px; border-radius: 0px 0px 0px 4px;
} }
.side img, .md img{ .side img, .md img{
@ -952,11 +954,16 @@ nav .right form input, .comment .buttons input, form.link-btn input {
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
#tagline {
overflow: hidden;
font-size: 12px;
font-weight: bold;
}
.menu { .menu {
border-bottom: 1px dotted gray; border-bottom: 1px dotted gray;
padding: 0px 0px 5px 20px; padding: 0px 0px 5px 20px;
color: gray; color: gray;
overflow: hidden;
} }
.menu a { .menu a {
margin: 0px 2.5px; margin: 0px 2.5px;
@ -975,6 +982,7 @@ nav .right form input, .comment .buttons input, form.link-btn input {
border-width: 1px; border-width: 1px;
padding: 5px 10px; padding: 5px 10px;
margin: 5px 10px; margin: 5px 10px;
overflow: hidden;
} }
.highlight { .highlight {
background-color: #ffc; background-color: #ffc;

View file

@ -19,9 +19,9 @@
<main{{ if .HideSidebar }} class="wide"{{ end }}> <main{{ if .HideSidebar }} class="wide"{{ end }}>
{{ template "sidebar.html" . }} {{ template "sidebar.html" . }}
{{- if and (not .Community) .Tagline }} {{- if and (not .Community) .Tagline }}
<h3> <div id="tagline">
{{ markdown .Host .Tagline }} {{ markdown .Host .Tagline }}
</h3> </div>
{{- end }} {{- end }}
{{ template "menu.html" . }} {{ template "menu.html" . }}
{{- if .Error }} {{- if .Error }}