Skip to content

Node.js based forum software built for the modern web

fixing topic CSS so the h3 styles only apply to the topic title

Julian Lam167c1fa3480f
diff --git a/public/css/topic.less b/public/css/topic.less
index 0b80dc8ee8..b70772e9af 100644
--- a/public/css/topic.less
+++ b/public/css/topic.less
@@ -152,36 +152,38 @@
}
.main-post {
- h3 {
- margin: 0;
-
- .topic-title {
- width: auto;
- overflow: hidden;
- margin: 0 0 -5px 0;
- padding: 0 0 5px 0
+ .main-post-buttons {
+ h3 {
+ margin: 0;
+
+ .topic-title {
+ width: auto;
+ overflow: hidden;
+ margin: 0 0 -5px 0;
+ padding: 0 0 5px 0
+ }
}
- }
- .main-avatar {
- color: white;
- position: relative;
- float: left;
- margin: 0 10px 0 0;
- padding-bottom: 0px;
- text-align: center;
- width:100px;
+ .main-avatar {
+ color: white;
+ position: relative;
+ float: left;
+ margin: 0 10px 0 0;
+ padding-bottom: 0px;
+ text-align: center;
+ width:100px;
+
+ @media (max-width: 767px) {
+ display: none;
+ }
- @media (max-width: 767px) {
- display: none;
+ .img-thumbnail {
+ padding: 2px;
+ border-radius: 0;
+ }
}
}
- .img-thumbnail {
- padding: 2px;
- border-radius: 0;
- }
-
.post-content {
min-height: 80px;
}