mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-08 20:46:16 +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"""
|
||||
<button
|
||||
class={[
|
||||
"px-5 py-2 rounded-lg border text-gray-700 bg-white border-gray-200",
|
||||
@active && "bg-blue-100 border-blue-600",
|
||||
"px-5 py-2 rounded-lg text-gray-700 border",
|
||||
if(@active, do: "bg-blue-100 border-blue-600", else: "bg-white border-gray-200"),
|
||||
@class
|
||||
]}
|
||||
disabled={@disabled}
|
||||
|
|
Loading…
Add table
Reference in a new issue