mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Fix some UI problems (dropdown/container) (#30849)
Follow #30345 Follow #30547 `ellipsis` / `white-space` shouldn't be put on the general dropdown components.
This commit is contained in:
		| @@ -2,26 +2,20 @@ | ||||
|    unused rules here after refactoring, please remove them. */ | ||||
|  | ||||
| .ui.container { | ||||
|   display: block; | ||||
|   max-width: 100%; | ||||
| } | ||||
|  | ||||
| .ui.fluid.container { | ||||
|   width: 100%; | ||||
| } | ||||
|  | ||||
| .ui[class*="center aligned"].container { | ||||
|   text-align: center; | ||||
| } | ||||
|  | ||||
| /* overwrite width of containers inside the main page content div (div with class "page-content") */ | ||||
| .page-content .ui.ui.ui.container:not(.fluid) { | ||||
|   width: 1280px; | ||||
|   max-width: calc(100% - calc(2 * var(--page-margin-x))); | ||||
|   margin-left: auto; | ||||
|   margin-right: auto; | ||||
| } | ||||
|  | ||||
| .ui.fluid.container { | ||||
|   width: 100%; | ||||
| } | ||||
|  | ||||
| .ui.container.fluid.padded { | ||||
|   padding: 0 var(--page-margin-x); | ||||
| } | ||||
|  | ||||
| .ui[class*="center aligned"].container { | ||||
|   text-align: center; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 wxiaoguang
					wxiaoguang