Better padding

This commit is contained in:
Gregory Schier
2024-03-16 13:59:06 -07:00
parent 52d1602d35
commit 7e8ec36474
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
use std::fmt::Display; use std::fmt::Display;
use log::{debug, warn}; use log::{warn};
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use serde_json::json; use serde_json::json;
use sqlx::types::JsonValue; use sqlx::types::JsonValue;

View File

@@ -186,6 +186,7 @@ const EnvironmentEditor = function ({
</Heading> </Heading>
</HStack> </HStack>
<PairEditor <PairEditor
className="pr-2"
nameAutocomplete={nameAutocomplete} nameAutocomplete={nameAutocomplete}
nameAutocompleteVariables={false} nameAutocompleteVariables={false}
namePlaceholder="VAR_NAME" namePlaceholder="VAR_NAME"
@@ -235,7 +236,7 @@ function SidebarButton({
className={classNames( className={classNames(
className, className,
'w-full grid grid-cols-[minmax(0,1fr)_auto] items-center gap-0.5', 'w-full grid grid-cols-[minmax(0,1fr)_auto] items-center gap-0.5',
'px-1', // Padding to show focus border 'px-2', // Padding to show focus border
)} )}
> >
<Button <Button