Merge pull request #603 from h3poteto/fix/popper

Fix popper design
This commit is contained in:
AkiraFukushima 2018-09-13 21:51:56 +09:00 committed by GitHub
commit 0094915feb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 10 deletions

View File

@ -581,22 +581,25 @@ export default {
}
.toot-menu {
padding: 2px 0;
border-color: #909399;
.menu-list {
padding: 0;
margin: 4px 0;
font-size: 0.8em;
font-size: 0.9rem;
list-style-type: none;
line-height: 20px;
line-height: 32px;
text-align: left;
color: #303133;
li {
box-sizing: border-box;
margin: 0;
padding: 0 1.1em 0.5em;
padding: 0 32px 0 16px;
&:hover {
background-color: #f2f6fc;
background-color: #409eff;
color: #fff;
cursor: pointer;
}

View File

@ -263,21 +263,27 @@ function findLink (target) {
}
.more {
.popper {
padding: 2px 0;
border-color: #909399;
}
.menu-list {
padding: 0;
font-size: calc(var(--base-font-size) * 0.8);
font-size: calc(var(--base-font-size) * 0.9);
list-style-type: none;
line-height: 20px;
line-height: 32px;
text-align: left;
color: #303133;
margin: 4px 0;
li {
box-sizing: border-box;
padding-left: 0.5em;
padding-bottom: 0.5em;
padding: 0 32px 0 16px;
&:hover {
background-color: #f2f6fc;
background-color: #409eff;
color: #fff;
cursor: pointer;
}
}