First pass at fixing drop-down menus for touch
This patch allows the user to view a site on a touch screen tablet and access child menus by clicking on the parent once, or access the parent by clicking on it twice. Props @iamtakashi for the original fix.
This commit is contained in:
parent
108799d104
commit
88f94a9a4e
2 changed files with 35 additions and 2 deletions
|
@ -476,11 +476,13 @@ a:active {
|
|||
.main-navigation ul ul a:hover {
|
||||
}
|
||||
|
||||
.main-navigation ul li:hover > ul {
|
||||
.main-navigation ul li:hover > ul,
|
||||
.main-navigation ul li.focus > ul { {
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.main-navigation ul ul li:hover > ul {
|
||||
.main-navigation ul ul li:hover > ul,
|
||||
.main-navigation ul ul li.focus > ul {
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue