UX: Larger tap areas for profile panel in user menu on mobile devices
This commit is contained in:
parent
48c1de4836
commit
39dde33cbb
|
@ -3,6 +3,8 @@ import { createWidgetFrom } from "discourse/widgets/widget";
|
|||
import { Promise } from "rsvp";
|
||||
|
||||
createWidgetFrom(QuickAccessPanel, "quick-access-profile", {
|
||||
tagName: "div.quick-access-panel.quick-access-profile",
|
||||
|
||||
buildKey: () => "quick-access-profile",
|
||||
|
||||
hasMore() {
|
||||
|
|
|
@ -7,10 +7,7 @@
|
|||
}
|
||||
|
||||
.panel-body {
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
bottom: 37px;
|
||||
width: 97%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.header-cloak {
|
||||
|
|
|
@ -15,3 +15,9 @@
|
|||
transition: opacity 0.2s ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
.user-menu .quick-access-profile li:not(.show-all) {
|
||||
margin: 0.5em 0 0.75em;
|
||||
padding: 0.75em;
|
||||
border: 1px solid $primary-low;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue