-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Tabs нужна css переменная для указания максимальной ширины #1244
Comments
Извиняюсь: изначально неверно сформулировал постановку. 200px это был вот такой костыль в проекте. ::ng-deep {
prizm-tab {
button {
max-width: 200px;
}
}
} В призме хотелось бы добавить возможность ограничивать максимальную ширину таба, чтобы имя таба обрезалось в три точки. Вот такой финт: Тогда можно будет обходится без костыля в проекте. |
ickisIckis
pushed a commit
that referenced
this issue
Dec 27, 2023
ickisIckis
added
extra
Not planed initially for sprint
estimate:sp1
Story Point - 1
labels
Dec 27, 2023
ZurabDev
added a commit
that referenced
this issue
Dec 29, 2023
feat: added css variable for tab max-width #1244
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Библиотека
@prizm-ui/core
@prizm-ui/components
@prizm-ui/install
@prizm-ui/icons
@prizm-ui/flag-icons
@prizm-ui/theme
@prizm-ui/charts
@prizm-ui/ast
@prizm-ui/nx-plugin
Компонент
Tabs
https://prizm.site/components/tabs
Предложение
Работаю в рамках задачи проекта СОУ "Учёт движения - таб вкладки обрезается не доходя до максимальной ширины"
Нужно увеличить максимальную ширину до 400px.
Предлагаю сделать css переменную для max-width таба. Сейчас прибито 200px. Предлагаю добавить переменную с fallback. Например такую:
The text was updated successfully, but these errors were encountered: