Update button styles

This commit is contained in:
James Lyne 2021-08-26 22:44:03 +01:00
parent d0d24d528f
commit 379b4978ae
2 changed files with 4 additions and 4 deletions

View File

@ -38,17 +38,19 @@
box-sizing: border-box; box-sizing: border-box;
text-shadow: var(--text-shadow); text-shadow: var(--text-shadow);
user-select: none; user-select: none;
padding: 0.8rem 0.8rem 0.7rem;
line-height: 2rem;
.svg-icon { .svg-icon {
display: inline-block; display: inline-block;
width: calc(var(--ui-button-size) - 1.6rem);
height: calc(var(--ui-button-size) - 1.6rem);
max-width: 3rem; max-width: 3rem;
max-height: 3rem; max-height: 3rem;
pointer-events: none; pointer-events: none;
&:only-child { &:only-child {
position: absolute; position: absolute;
width: calc(100% - 1.6rem);
height: calc(100% - 1.6rem);
top: 0; top: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;

View File

@ -212,7 +212,6 @@ input {
> li { > li {
display: flex; display: flex;
padding: 0.8rem 0.8rem 0.7rem;
position: relative; position: relative;
> button { > button {
@ -262,7 +261,6 @@ input {
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
padding: 0.8rem 0.8rem 0.7rem;
text-align: left; text-align: left;
min-height: 3.2rem; min-height: 3.2rem;
border-radius: 0.5rem; border-radius: 0.5rem;