Skip to content

Commit

Permalink
Update rt-ai-html.css
Browse files Browse the repository at this point in the history
  • Loading branch information
ledangtrung committed Dec 13, 2024
1 parent dc4e6c5 commit 8cafb5f
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions css/rt-ai-html.css
Original file line number Diff line number Diff line change
Expand Up @@ -124,20 +124,6 @@
left: 0;
}

@media screen and (max-width: 600px) {
.btn {
flex: 0 1 calc(50% - 0.5rem);
font-size: 15px;
}
}

@media (prefers-reduced-motion: reduce) {
.btn,
.btn::before {
transition: none;
}
}

.btn svg {
width: 1em;
/* Reduced from 1.25em */
Expand Down Expand Up @@ -210,13 +196,25 @@
}

@media screen and (max-width: 600px) {
.btn-shade {
.btn, .btn-shade {
flex: 0 1 calc(50% - 0.5rem);
font-size: 15px;
}

.btn:only-child, .btn-shade:only-child {
flex: 1 1 100%;
}
}

@media screen and (max-width: 380px) {
.btn, .btn-shade {
flex: 1 1 100%; /* Stack on very small screens */
}
}

@media (prefers-reduced-motion: reduce) {
.btn,
.btn::before,
.btn-shade,
.btn-shade::before {
transition: none;
Expand Down

0 comments on commit 8cafb5f

Please sign in to comment.