1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-29 15:30:47 +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%; width: 100%;
} }
canvas.tw-edit-field { canvas.tw-edit-bitmapeditor {
cursor: crosshair; cursor: crosshair;
-webkit-user-select: none; -webkit-user-select: none;
-moz-user-select: none; -moz-user-select: none;
@ -6113,22 +6113,14 @@ Dropdown menus
content: "\2022"; content: "\2022";
} }
.dropdown-menu { .dropdown-menu li > .tw-view-link > a {
position: static; display: block;
} padding: 3px 20px;
clear: both;
.dropdown-menu a { font-weight: normal;
position: relative; line-height: 20px;
} color: #333333;
white-space: nowrap;
/* 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;
} }
/* /*

View File

@ -131,7 +131,7 @@ textarea.tw-edit-field {
width: 100%; width: 100%;
} }
canvas.tw-edit-field { canvas.tw-edit-bitmapeditor {
cursor: crosshair; cursor: crosshair;
-moz-user-select: none; -moz-user-select: none;
-webkit-user-select: none; -webkit-user-select: none;
@ -218,20 +218,14 @@ Dropdown menus
left: 4px; left: 4px;
} }
.dropdown-menu { .dropdown-menu li > .tw-view-link > a {
position: static; display: block;
} padding: 3px 20px;
clear: both;
.dropdown-menu a { font-weight: normal;
position: relative; line-height: @baseLineHeight;
} color: @dropdownLinkColor;
white-space: nowrap;
/* 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;
} }
/* /*