Skip to content
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

Counter for tabs #1920

Open
aliemrevezir opened this issue Dec 16, 2024 · 0 comments
Open

Counter for tabs #1920

aliemrevezir opened this issue Dec 16, 2024 · 0 comments

Comments

@aliemrevezir
Copy link

aliemrevezir commented Dec 16, 2024

Description

I generated a CSS code with using ChatGPT for add counter before the tab. Here it is codeblock.
`
Xnip2024-12-16_03-46-09

.Tab::before {
counter-increment: tab-counter;
content: counter(tab-counter);
font-weight: bold;
margin-right: 1
}

.AnimatedTabList {
counter-reset: tab-counter;
}

/* Sekme konteyneri hizalaması /
.AnimatedTabList {
display: flex;
flex-direction: column; /
Sekmeler dikey olarak hizalanır */

max-height: 100%; /* Sekme alanını sınırlamak için */

}

/* Sekme içeriği /
.Tab {
display: flex;
align-items: center; /
Sekme içeriğini dikey olarak ortalar /
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
height: 32px; /
Sabit bir yükseklik belirle /
max-width: 100%;
box-sizing: border-box;
padding: 1px; /
İç boşluk ekle */
}
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant