Skip to content

Commit

Permalink
Adjusted height
Browse files Browse the repository at this point in the history
  • Loading branch information
Civolilah committed Feb 18, 2025
1 parent 8ba3d82 commit cd605a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/QuickCreatePopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function QuickCreatePopover() {
<StyledPopoverButton
data-cy="quickPopoverButton"
className="flex items-center justify-center h-10 w-10 rounded-lg border shadow-sm focus:outline-none"
style={{ borderColor: colors.$5 }}
style={{ height: '2.3rem', borderColor: colors.$5 }}
theme={{
hoverBackgroundColor: colors.$4,
backgroundColor: colors.$1,
Expand Down
6 changes: 4 additions & 2 deletions src/components/layouts/Default.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ export function Default(props: Props) {
const isMiniSidebar = Boolean(
user?.company_user?.react_settings.show_mini_sidebar
);
const shouldShowUnlockButton = !isDemo() && (useUnlockButtonForHosted() || useUnlockButtonForSelfHosted());
const shouldShowUnlockButton =
!isDemo() && (useUnlockButtonForHosted() || useUnlockButtonForSelfHosted());

const [sidebarOpen, setSidebarOpen] = useState<boolean>(false);

Expand Down Expand Up @@ -463,8 +464,9 @@ export function Default(props: Props) {

{shouldShowUnlockButton && (
<button
className="hidden sm:inline-flex items-center justify-center py-[9px] px-4 rounded-[6px] text-sm font-medium text-white relative overflow-hidden"
className="hidden sm:inline-flex items-center justify-center px-4 rounded-md text-sm font-medium text-white relative overflow-hidden"
style={{
height: '2.25rem',
background: '#2176FF',
border: '1px solid #0062ff',
boxShadow:
Expand Down
2 changes: 1 addition & 1 deletion src/pages/dashboard/components/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export function Search$() {
<div
className="hidden lg:flex items-center border rounded-md p-1.5 space-x-5"
onClick={() => setIsModalOpen(true)}
style={{ borderColor: colors.$5 }}
style={{ height: '2.3rem', borderColor: colors.$5 }}
>
<div className="flex items-center space-x-1.5 pl-1">
<SearchIcon color={colors.$5} />
Expand Down

0 comments on commit cd605a3

Please sign in to comment.