@mundogamernetwork/shared-ui 1.14.3 → 1.14.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -155,8 +155,14 @@ const handleLogout = async () => {
|
|
|
155
155
|
<style scoped lang="scss">
|
|
156
156
|
.ui-config-user {
|
|
157
157
|
position: absolute;
|
|
158
|
-
|
|
159
|
-
width
|
|
158
|
+
// A fixed width, not width:100%. This is position:absolute, so a
|
|
159
|
+
// percentage width resolves against the nearest positioned ancestor —
|
|
160
|
+
// every real host's profile-icon <li> (32px, position:relative for its
|
|
161
|
+
// own reasons), not the header. width:100% + max-width collapsed the
|
|
162
|
+
// whole dropdown to a 32px sliver pinned off in the corner; nothing
|
|
163
|
+
// caught it before because no front actually rendered this component
|
|
164
|
+
// until the account-menu unification wired all twelve of them to it.
|
|
165
|
+
width: 240px;
|
|
160
166
|
padding: 1rem 0;
|
|
161
167
|
background-color: var(--header-ui-config-bg);
|
|
162
168
|
border: 1px solid var(--header-ui-config-border);
|
|
@@ -167,7 +173,7 @@ const handleLogout = async () => {
|
|
|
167
173
|
transition: all ease 0.5s;
|
|
168
174
|
|
|
169
175
|
&:not(.signed-in) {
|
|
170
|
-
|
|
176
|
+
width: 340px;
|
|
171
177
|
}
|
|
172
178
|
|
|
173
179
|
&__option {
|