Przeglądaj źródła

Fix tags screwing up the layout below

Because they float they would screw up the element following them.
Lucas Stadler 9 lat temu
rodzic
commit
f73544cb6e
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      go/blog/blog.go

+ 2 - 0
go/blog/blog.go

@ -42,6 +42,7 @@ var dataPath string = "blog.yaml"
42 42
var defaultStyle = `
43 43
article {
44 44
	margin-bottom: 2em;
45
	clear: left;
45 46
}
46 47
47 48
article header {
@ -98,6 +99,7 @@ article.does-not-match {
98 99
	color: #555;
99 100
	font-size: smaller;
100 101
	margin-bottom: 1em;
102
	clear: left;
101 103
}
102 104
`
103 105