mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-09 21:16:26 +08:00
Fix runtime choice button
This commit is contained in:
parent
f226387958
commit
99da2f3e6a
1 changed files with 2 additions and 2 deletions
|
@ -449,8 +449,8 @@ defmodule LivebookWeb.CoreComponents do
|
||||||
~H"""
|
~H"""
|
||||||
<button
|
<button
|
||||||
class={[
|
class={[
|
||||||
"px-5 py-2 rounded-lg border text-gray-700 bg-white border-gray-200",
|
"px-5 py-2 rounded-lg text-gray-700 border",
|
||||||
@active && "bg-blue-100 border-blue-600",
|
if(@active, do: "bg-blue-100 border-blue-600", else: "bg-white border-gray-200"),
|
||||||
@class
|
@class
|
||||||
]}
|
]}
|
||||||
disabled={@disabled}
|
disabled={@disabled}
|
||||||
|
|
Loading…
Add table
Reference in a new issue