1
0
Fork 0

Handle too long names in menu

This commit is contained in:
Gregory Eremin 2015-03-14 22:52:29 +07:00
parent 836fb09dd8
commit 71d403bc36
1 changed files with 9 additions and 2 deletions

View File

@ -50,13 +50,20 @@ section {
color: #222; color: #222;
text-decoration: underline; text-decoration: underline;
border-radius: 3px; border-radius: 3px;
width: 200px;
max-width: 200px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.menu .nav a:hover {
background-color: #fcf1eb;
} }
.menu .nav a.active { .menu .nav a.active {
background-color: #f9d4be; background-color: #f9d4be;
} }
.content { .content {
width: calc(100% - 260px); width: calc(100% - 240px);
margin-top: 20px; margin-top: 20px;
} }
.content .left, .content .right { .content .left, .content .right {