Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix button style regression
Alexis Sellier committed 3 years ago
commit 01f7af357df22da246e654fd0475ed16d2077ab5
parent 2bc2b93e512094ad416975b1a36313329b70a4c6
1 file changed +5 -1
modified public/index.css
@@ -177,9 +177,11 @@ button {
	border: 1px solid var(--color-foreground-6);
	border-radius: var(--border-radius);
	cursor: pointer;
-
	min-width: 8rem;
+
	min-width: 6rem;
+
	height: var(--button-regular-height);
	display: inline-flex;
	align-items: center;
+
	justify-content: center;
}
button:not([disabled]):hover {
	color: var(--color-background);
@@ -326,6 +328,7 @@ label.input {
	border-color: var(--color-negative);
}
.modal.error .modal-actions button:hover {
+
	color: var(--color-background);
	background-color: var(--color-negative);
}

@@ -463,6 +466,7 @@ span.small, .text-xsmall {
}

button.error:hover {
+
	color: var(--color-background);
	background-color: var(--color-negative);
}