@flytedan/flytebot-design-system 0.2.0 → 0.2.1
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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components.css +15 -8
package/package.json
CHANGED
package/styles/components.css
CHANGED
|
@@ -197,6 +197,12 @@
|
|
|
197
197
|
/* ============ Segmented control ============ */
|
|
198
198
|
.fd-seg {
|
|
199
199
|
display: inline-flex;
|
|
200
|
+
/* .fd-seg is already inline-flex to hug its own content, but any flex-column
|
|
201
|
+
parent with the default align-items:stretch (e.g. .fd-pop) overrides that by
|
|
202
|
+
stretching this as a flex ITEM — align-self pins it back to content width
|
|
203
|
+
regardless of the ambient container, so it never silently goes full-width
|
|
204
|
+
just because it's dropped inside a popover/panel. */
|
|
205
|
+
align-self: flex-start;
|
|
200
206
|
background: var(--surface-2);
|
|
201
207
|
border: 1px solid var(--border);
|
|
202
208
|
border-radius: var(--r-md);
|
|
@@ -2020,9 +2026,9 @@
|
|
|
2020
2026
|
}
|
|
2021
2027
|
.fd-brand {
|
|
2022
2028
|
display: flex;
|
|
2023
|
-
flex-direction:
|
|
2024
|
-
align-items:
|
|
2025
|
-
gap:
|
|
2029
|
+
flex-direction: row;
|
|
2030
|
+
align-items: center;
|
|
2031
|
+
gap: 10px;
|
|
2026
2032
|
}
|
|
2027
2033
|
.fd-brand-mark {
|
|
2028
2034
|
display: inline-flex;
|
|
@@ -2030,20 +2036,21 @@
|
|
|
2030
2036
|
line-height: 0;
|
|
2031
2037
|
background: #fff;
|
|
2032
2038
|
border-radius: var(--r-sm);
|
|
2033
|
-
padding:
|
|
2039
|
+
padding: 4px 8px;
|
|
2040
|
+
flex: none;
|
|
2034
2041
|
}
|
|
2035
2042
|
.fd-brand-mark img {
|
|
2036
2043
|
display: block;
|
|
2037
|
-
height:
|
|
2044
|
+
height: 26px;
|
|
2038
2045
|
width: auto;
|
|
2039
2046
|
}
|
|
2040
2047
|
.fd-brand-sm .fd-brand-mark img,
|
|
2041
2048
|
.fd-brand-mark-sm img {
|
|
2042
|
-
height:
|
|
2049
|
+
height: 19px;
|
|
2043
2050
|
}
|
|
2044
2051
|
.fd-brand-lg .fd-brand-mark img,
|
|
2045
2052
|
.fd-brand-mark-lg img {
|
|
2046
|
-
height:
|
|
2053
|
+
height: 32px;
|
|
2047
2054
|
}
|
|
2048
2055
|
.fd-topbar {
|
|
2049
2056
|
height: var(--topbar-h);
|
|
@@ -4059,7 +4066,7 @@
|
|
|
4059
4066
|
|
|
4060
4067
|
/* --- menus (extends .fd-pop / .fd-opt) ----------------------------------- */
|
|
4061
4068
|
.fd-pop-padded {
|
|
4062
|
-
padding:
|
|
4069
|
+
padding: var(--s-16);
|
|
4063
4070
|
}
|
|
4064
4071
|
.fd-menu {
|
|
4065
4072
|
outline: none;
|