1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 00:50:28 +00:00

Try to get dropdown menus working again

Bootstrap doesn't like the div/span elements left behind by the view
widget
This commit is contained in:
Jeremy Ruston 2013-01-17 11:30:14 +00:00
parent 106099d991
commit 556473fb21
2 changed files with 19 additions and 33 deletions

View File

@ -6024,7 +6024,7 @@ textarea.tw-edit-field {
width: 100%;
}
canvas.tw-edit-field {
canvas.tw-edit-bitmapeditor {
cursor: crosshair;
-webkit-user-select: none;
-moz-user-select: none;
@ -6113,22 +6113,14 @@ Dropdown menus
content: "\2022";
}
.dropdown-menu {
position: static;
}
.dropdown-menu a {
position: relative;
}
/* This is needed to make the dropdown arrows abut to the dropdown itself */
.navbar .dropdown-menu::before {
top: -4px;
}
.navbar .dropdown-menu::after {
top: -3px;
.dropdown-menu li > .tw-view-link > a {
display: block;
padding: 3px 20px;
clear: both;
font-weight: normal;
line-height: 20px;
color: #333333;
white-space: nowrap;
}
/*

View File

@ -131,7 +131,7 @@ textarea.tw-edit-field {
width: 100%;
}
canvas.tw-edit-field {
canvas.tw-edit-bitmapeditor {
cursor: crosshair;
-moz-user-select: none;
-webkit-user-select: none;
@ -218,21 +218,15 @@ Dropdown menus
left: 4px;
}
.dropdown-menu {
position: static;
}
.dropdown-menu a {
position: relative;
}
/* This is needed to make the dropdown arrows abut to the dropdown itself */
.navbar .dropdown-menu::before {
top: -4px;
}
.navbar .dropdown-menu::after {
top: -3px;
}
.dropdown-menu li > .tw-view-link > a {
display: block;
padding: 3px 20px;
clear: both;
font-weight: normal;
line-height: @baseLineHeight;
color: @dropdownLinkColor;
white-space: nowrap;
}
/*
Buttons