Remove margin from pagination component
This commit is contained in:
		
							parent
							
								
									34780386f6
								
							
						
					
					
						commit
						f8e63c9772
					
				| @ -9,7 +9,7 @@ | ||||
| 		display: flex; | ||||
| 		flex-wrap: wrap; | ||||
| 		gap: 0.5em; | ||||
| 		margin: 0.5em 0; | ||||
| 		/*margin: 0.5em 0;*/ | ||||
| 		/*border-radius: 4px; | ||||
| 		border: 1px solid var(--d3c-color-border);*/ | ||||
| 		/*width: min-content;*/ | ||||
|  | ||||
| @ -149,7 +149,7 @@ func (c *Pagination) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) { | ||||
| 	} | ||||
| 	vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Data: "style", Attr: []vugu.VGAttribute(nil)} | ||||
| 	{ | ||||
| 		vgn.AppendChild(&vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t.d3c-1684167638 {\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n\t\tgap: 0.5em;\n\t\tmargin: 0.5em 0;\n\t\t/*border-radius: 4px;\n\t\tborder: 1px solid var(--d3c-color-border);*/\n\t\t/*width: min-content;*/\n\t\t/*overflow: hidden;*/\n\t}\n\n\t.d3c-1684167638 > * {\n\t\tmin-width: 2em;\n\t\ttext-align: center;\n\t}\n", Attr: []vugu.VGAttribute(nil)}) | ||||
| 		vgn.AppendChild(&vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t.d3c-1684167638 {\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n\t\tgap: 0.5em;\n\t\t/*margin: 0.5em 0;*/\n\t\t/*border-radius: 4px;\n\t\tborder: 1px solid var(--d3c-color-border);*/\n\t\t/*width: min-content;*/\n\t\t/*overflow: hidden;*/\n\t}\n\n\t.d3c-1684167638 > * {\n\t\tmin-width: 2em;\n\t\ttext-align: center;\n\t}\n", Attr: []vugu.VGAttribute(nil)}) | ||||
| 	} | ||||
| 	vgout.AppendCSS(vgn) | ||||
| 	return vgout | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user