Browse Source

Right sidebar button fix

Vova Tkach 6 years ago
parent
commit
4bb508435b

+ 2 - 2
engine/backend/modules/module_users.go

@@ -107,9 +107,9 @@ func (this *Module) Module_users_content() string {
 
 func (this *Module) Module_users_sidebar() string {
 	if this.smod == "modify" && this.imod == 0 {
-		return `<button class="btn btn-primary" id="add-edit-button">Add</button>`
+		return `<button class="btn btn-primary btn-sidebar" id="add-edit-button">Add</button>`
 	} else if this.smod == "modify" && this.imod != 0 {
-		return `<button class="btn btn-primary" id="add-edit-button">Save</button>`
+		return `<button class="btn btn-primary btn-sidebar" id="add-edit-button">Save</button>`
 	}
 	return ""
 }

+ 4 - 0
engine/wrapper/resources/styles/assets.cp.styles.css

@@ -221,6 +221,10 @@ body.cp .wrap .sidebar.sidebar-left ul.nav li.nav-item svg.sicon {
 	margin-right: 5px;
 }
 
+body.cp .wrap .sidebar .btn-sidebar {
+	width: 100%;
+}
+
 /* Admin table */
 .data-table.table-hover tbody tr:hover {
 	background-color: #fffbdf;

File diff suppressed because it is too large
+ 0 - 0
engine/wrapper/resources/styles/assets.cp.styles.css.go


Some files were not shown because too many files changed in this diff