mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix U and E icon displayed in project list (#7875)
* 🐛 Fix U and E icon displayed in project lis * 🐛 Fix U and E icon displayed in project list
This commit is contained in:
@@ -88,6 +88,7 @@ example. It's still usable as before, we just removed the example.
|
|||||||
- Fix input confirmation behavior is not uniform [Taiga #12294](https://tree.taiga.io/project/penpot/issue/12294)
|
- Fix input confirmation behavior is not uniform [Taiga #12294](https://tree.taiga.io/project/penpot/issue/12294)
|
||||||
- Fix copy/pasting application/transit+json [Taiga #12721](https://tree.taiga.io/project/penpot/issue/12721)
|
- Fix copy/pasting application/transit+json [Taiga #12721](https://tree.taiga.io/project/penpot/issue/12721)
|
||||||
- Fix problem with plugins content attribute [Plugins #209](https://github.com/penpot/penpot-plugins/issues/209)
|
- Fix problem with plugins content attribute [Plugins #209](https://github.com/penpot/penpot-plugins/issues/209)
|
||||||
|
- Fix U and E icon displayed in project list [Taiga #12806](https://tree.taiga.io/project/penpot/issue/12806)
|
||||||
|
|
||||||
## 2.11.1
|
## 2.11.1
|
||||||
|
|
||||||
|
|||||||
@@ -151,14 +151,16 @@
|
|||||||
|
|
||||||
(mf/defc menu-team-icon*
|
(mf/defc menu-team-icon*
|
||||||
[{:keys [subscription-type]}]
|
[{:keys [subscription-type]}]
|
||||||
[:span {:class (stl/css :subscription-icon)
|
[:span {:class (stl/css :subscription-icon-wrapper)}
|
||||||
:title (if (= subscription-type "unlimited")
|
[:> icon* {:icon-id (case subscription-type
|
||||||
(tr "subscription.dashboard.power-up.unlimited-plan")
|
"unlimited" i/character-u
|
||||||
(tr "subscription.dashboard.power-up.enterprise-plan"))
|
"enterprise" i/character-e)
|
||||||
:data-testid "subscription-icon"}
|
:class (stl/css :subscription-icon)
|
||||||
(case subscription-type
|
:size "s"
|
||||||
"unlimited" i/character-u
|
:title (if (= subscription-type "unlimited")
|
||||||
"enterprise" i/character-e)])
|
(tr "subscription.dashboard.power-up.unlimited-plan")
|
||||||
|
(tr "subscription.dashboard.power-up.enterprise-plan"))
|
||||||
|
:data-testid "subscription-icon"}]])
|
||||||
|
|
||||||
(mf/defc main-menu-power-up*
|
(mf/defc main-menu-power-up*
|
||||||
[{:keys [close-sub-menu]}]
|
[{:keys [close-sub-menu]}]
|
||||||
|
|||||||
@@ -144,20 +144,20 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.subscription-icon {
|
.subscription-icon-wrapper {
|
||||||
@extend .button-icon;
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
background: var(--color-background-primary);
|
background: var(--color-background-primary);
|
||||||
stroke: var(--color-foreground-secondary);
|
border-radius: $br-6;
|
||||||
border-radius: 6px;
|
|
||||||
border: 1.75px solid var(--color-foreground-secondary);
|
border: 1.75px solid var(--color-foreground-secondary);
|
||||||
stroke-width: 2.25px;
|
block-size: var(--sp-xl);
|
||||||
width: var(--sp-xl);
|
inline-size: var(--sp-xl);
|
||||||
height: var(--sp-xl);
|
}
|
||||||
|
|
||||||
svg {
|
.subscription-icon {
|
||||||
block-size: var(--sp-m);
|
stroke: var(--color-foreground-secondary);
|
||||||
inline-size: var(--sp-m);
|
stroke-width: 2.25px;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-item {
|
.menu-item {
|
||||||
|
|||||||
Reference in New Issue
Block a user