mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
refactor(css): add styles targeting SVG button/modal icons (#1464)
* refactor(css): add global classes for common icon types * refactor(css): target child SVGs instead of creating new icon classes * fix: fix ButtonWithDropdown style class spacing
This commit is contained in:
@@ -74,6 +74,10 @@ a.slider-title {
|
||||
@apply hover:text-white;
|
||||
}
|
||||
|
||||
a.slider-title svg {
|
||||
@apply w-6 h-6 ml-2;
|
||||
}
|
||||
|
||||
.media-page {
|
||||
@apply relative px-4 -mx-4 bg-center bg-cover;
|
||||
margin-top: calc(-4rem - env(safe-area-inset-top));
|
||||
@@ -281,6 +285,23 @@ select.short {
|
||||
@apply w-min;
|
||||
}
|
||||
|
||||
button svg,
|
||||
.button-md svg {
|
||||
@apply w-5 h-5 mr-2 last:mr-0;
|
||||
}
|
||||
|
||||
.button-sm svg {
|
||||
@apply w-4 h-4 mr-1.5 last:w-5 last:h-5 last:mr-0;
|
||||
}
|
||||
|
||||
.modal-icon {
|
||||
@apply flex items-center justify-center flex-shrink-0 w-12 h-12 mx-auto text-white bg-gray-600 rounded-full sm:mx-0 sm:h-10 sm:w-10;
|
||||
}
|
||||
|
||||
.modal-icon svg {
|
||||
@apply w-6 h-6;
|
||||
}
|
||||
|
||||
.protocol {
|
||||
@apply inline-flex items-center px-3 text-gray-100 bg-gray-600 border border-r-0 border-gray-500 cursor-default rounded-l-md sm:text-sm;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user