Skip to content

Commit

Permalink
fix: fix background colours after patternfly removal
Browse files Browse the repository at this point in the history
fixes containers#4762 (comment)
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
  • Loading branch information
benoitf committed Nov 14, 2023
1 parent 89d7fcb commit 5282467
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function handleCleanValue(

<div class="w-full flex">
<input
class="grow {!value ? 'mr-3' : ''} py-1 px-2 outline-0 text-sm placeholder-gray-900"
class="grow {!value ? 'mr-3' : ''} py-1 px-2 outline-0 text-sm placeholder-gray-900 bg-zinc-700"
name="{record.id}"
readonly
type="text"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function canIncrement(value: number) {
<Tooltip topLeft tip="{numberInputErrorMessage}">
<input
type="text"
class="w-[50px] outline-none focus:outline-none text-white text-center text-sm py-0.5"
class="w-[50px] outline-none focus:outline-none text-white text-center text-sm py-0.5 bg-transparent"
name="{record.id}"
bind:value="{recordValue}"
on:keypress="{event => onNumberInputKeyPress(event)}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function onInput(event: Event) {

<input
on:input="{onInput}"
class="grow py-1 px-2 w-full outline-0 border-b-2 border-gray-800 hover:border-violet-500 focus:border-violet-500 placeholder-gray-900"
class="grow py-1 px-2 w-full outline-0 border-b-2 border-gray-800 hover:border-violet-500 focus:border-violet-500 placeholder-gray-900 bg-zinc-700"
name="{record.id}"
type="text"
placeholder="{record.placeholder}"
Expand Down

0 comments on commit 5282467

Please sign in to comment.