adjusted css for blog posts page
This commit is contained in:
@@ -22,8 +22,8 @@ import (
|
||||
|
||||
type BlogPost struct {
|
||||
gorm.Model
|
||||
Url string `json:"url" gorm:"primaryKey"`
|
||||
Title string `json:"title"`
|
||||
Url string `json:"url" gorm:"primaryKey" gorm:"unique"`
|
||||
Title string `json:"title" gorm:"unique"`
|
||||
Date string `json:"date"`
|
||||
Content string `json:"content"`
|
||||
Comments []Comment `gorm:"foreignKey:Id"`
|
||||
|
||||
@@ -131,12 +131,12 @@ a:hover:after {
|
||||
}
|
||||
|
||||
.post-record {
|
||||
padding-left: 6px;
|
||||
padding-right: 6px;
|
||||
width: 200px + 2vw;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user