mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
more theme fixes
This commit is contained in:
parent
87f86aad38
commit
afb7ff083a
frontend/src/themes
@ -122,7 +122,7 @@
|
|||||||
@apply text-lg font-semibold my-2;
|
@apply text-lg font-semibold my-2;
|
||||||
}
|
}
|
||||||
.examples_table_holder {
|
.examples_table_holder {
|
||||||
@apply overflow-x-auto mt-4;
|
@apply overflow-x-auto mt-4 inline-block max-w-full;
|
||||||
}
|
}
|
||||||
.examples_table_holder:not(.gallery) .examples_table {
|
.examples_table_holder:not(.gallery) .examples_table {
|
||||||
@apply table-auto p-2 bg-gray-50 dark:bg-gray-600 rounded max-w-full border-collapse;
|
@apply table-auto p-2 bg-gray-50 dark:bg-gray-600 rounded max-w-full border-collapse;
|
||||||
@ -184,10 +184,10 @@
|
|||||||
/* Input Components */
|
/* Input Components */
|
||||||
.input_text {
|
.input_text {
|
||||||
textarea {
|
textarea {
|
||||||
@apply w-full rounded box-border p-2 resize-none;
|
@apply w-full rounded box-border p-2 resize-none focus:outline-none;
|
||||||
}
|
}
|
||||||
input {
|
input {
|
||||||
@apply w-full rounded box-border p-2;
|
@apply w-full rounded box-border p-2 focus:outline-none;
|
||||||
}
|
}
|
||||||
.interpretation {
|
.interpretation {
|
||||||
.interpretation_box {
|
.interpretation_box {
|
||||||
@ -197,7 +197,7 @@
|
|||||||
}
|
}
|
||||||
.input_number {
|
.input_number {
|
||||||
input {
|
input {
|
||||||
@apply w-full rounded box-border p-2;
|
@apply w-full rounded box-border p-2 focus:outline-none;
|
||||||
}
|
}
|
||||||
.interpretation {
|
.interpretation {
|
||||||
@apply flex h-6;
|
@apply flex h-6;
|
||||||
|
@ -40,12 +40,12 @@
|
|||||||
.input_text {
|
.input_text {
|
||||||
textarea,
|
textarea,
|
||||||
input {
|
input {
|
||||||
@apply rounded-none dark:bg-gray-700 dark:text-gray-50 box-border border-4 p-2 border-white dark:border-gray-600 focus:border-green-400 dark:focus:border-green-400 focus:outline-none;
|
@apply rounded-none dark:bg-gray-700 dark:text-gray-50 box-border border-4 p-2 border-white dark:border-gray-600 focus:border-green-400 dark:focus:border-green-400;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.input_number {
|
.input_number {
|
||||||
input {
|
input {
|
||||||
@apply rounded-none dark:bg-gray-700 dark:text-gray-50 box-border border-4 p-2 border-white dark:border-gray-600 focus:border-green-400 dark:focus:border-green-400 focus:outline-none;
|
@apply rounded-none dark:bg-gray-700 dark:text-gray-50 box-border border-4 p-2 border-white dark:border-gray-600 focus:border-green-400 dark:focus:border-green-400;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.input_slider {
|
.input_slider {
|
||||||
|
@ -41,12 +41,12 @@
|
|||||||
.input_text {
|
.input_text {
|
||||||
textarea,
|
textarea,
|
||||||
input {
|
input {
|
||||||
@apply rounded-lg bg-gray-50 dark:bg-gray-700 dark:text-gray-50 focus:outline-none focus:bg-gray-100;
|
@apply rounded-lg bg-gray-50 dark:bg-gray-700 dark:text-gray-50;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.input_number {
|
.input_number {
|
||||||
input {
|
input {
|
||||||
@apply rounded-lg bg-gray-50 dark:bg-gray-700 dark:text-gray-50 focus:outline-none focus:bg-gray-100;
|
@apply rounded-lg bg-gray-50 dark:bg-gray-700 dark:text-gray-50;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.input_slider {
|
.input_slider {
|
||||||
|
Loading…
Reference in New Issue
Block a user