enhance: UI header

This commit is contained in:
lytrankieio123
2021-09-07 14:25:10 +07:00
parent 974cb55cca
commit db4314090c
11 changed files with 67 additions and 28 deletions

View File

@@ -3,6 +3,9 @@
.menuDropdown {
@apply relative cursor-pointer;
width: fit-content;
.label {
all: unset;
}
&:hover {
.label {
color: var(--primary);
@@ -65,6 +68,16 @@
margin-top: 0.4rem;
li {
@apply block w-full transition-all duration-200 cursor-pointer text-active;
word-wrap: break-word;
-webkit-hyphens: auto;
-ms-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
overflow-x: hidden;
position: relative;
max-width: 15rem;
white-space: nowrap;
text-overflow: ellipsis;
button {
all: unset;
color: currentColor;