This is an automated email from the ASF dual-hosted git repository.

enzomartellucci pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new e5489bd30f fix(SavedQueries): unify query card actions styling across 
all home page cards (#36671)
e5489bd30f is described below

commit e5489bd30f590040631a8a1604091e3ca785f459
Author: innovark <[email protected]>
AuthorDate: Fri Jan 2 16:41:47 2026 +0300

    fix(SavedQueries): unify query card actions styling across all home page 
cards (#36671)
---
 .../src/features/home/SavedQueries.tsx             | 43 +++++++---------------
 1 file changed, 14 insertions(+), 29 deletions(-)

diff --git a/superset-frontend/src/features/home/SavedQueries.tsx 
b/superset-frontend/src/features/home/SavedQueries.tsx
index a6634382e7..ab586a7947 100644
--- a/superset-frontend/src/features/home/SavedQueries.tsx
+++ b/superset-frontend/src/features/home/SavedQueries.tsx
@@ -98,16 +98,6 @@ export const CardStyles = styled.div`
   }
 `;
 
-const QueryData = styled.div`
-  svg {
-    margin-left: ${({ theme }) => theme.sizeUnit * 10}px;
-  }
-  .query-title {
-    padding: ${({ theme }) => theme.sizeUnit * 2 + 2}px;
-    font-size: ${({ theme }) => theme.fontSizeLG}px;
-  }
-`;
-
 const QueryContainer = styled.div`
   /* Custom styles for the syntax highlighter in cards */
   & > div {
@@ -226,7 +216,6 @@ export const SavedQueries = ({
             iconSize="l"
             css={css`
               margin-right: ${theme.sizeUnit}px;
-              vertical-align: baseline;
             `}
           />
           {t('Share')}
@@ -348,25 +337,21 @@ export const SavedQueries = ({
                   )
                 }
                 actions={
-                  <QueryData>
-                    <ListViewCard.Actions
-                      onClick={e => {
-                        e.stopPropagation();
-                        e.preventDefault();
-                      }}
+                  <ListViewCard.Actions
+                    onClick={e => {
+                      e.stopPropagation();
+                      e.preventDefault();
+                    }}
+                  >
+                    <Dropdown
+                      menu={{ items: menuItems(q) }}
+                      trigger={['click', 'hover']}
                     >
-                      <Dropdown
-                        menu={{
-                          items: menuItems(q),
-                        }}
-                        trigger={['click', 'hover']}
-                      >
-                        <Button buttonSize="xsmall" buttonStyle="link">
-                          <Icons.MoreOutlined iconColor={theme.colorText} />
-                        </Button>
-                      </Dropdown>
-                    </ListViewCard.Actions>
-                  </QueryData>
+                      <Button buttonSize="xsmall" buttonStyle="link">
+                        <Icons.MoreOutlined iconSize="xl" />
+                      </Button>
+                    </Dropdown>
+                  </ListViewCard.Actions>
                 }
               />
             </CardStyles>

Reply via email to