mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-19 06:28:03 +00:00
Fix: Button styling issues (#21127)
* fixes button styling issues * address pr comments
This commit is contained in:
parent
3b382c1bd9
commit
130ff685a6
@ -376,7 +376,6 @@ const TaskFeedCard = ({
|
|||||||
className="task-card-approve-btn d-flex items-center"
|
className="task-card-approve-btn d-flex items-center"
|
||||||
data-testid="approve-button"
|
data-testid="approve-button"
|
||||||
icon={<CheckCircleFilled />}
|
icon={<CheckCircleFilled />}
|
||||||
type="primary"
|
|
||||||
onClick={onTaskResolve}>
|
onClick={onTaskResolve}>
|
||||||
{t('label.approve')}
|
{t('label.approve')}
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -23,6 +23,9 @@
|
|||||||
button {
|
button {
|
||||||
height: 32px;
|
height: 32px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
span {
|
span {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
@ -228,9 +228,7 @@ export const PersonaSelectableList = ({
|
|||||||
<Button
|
<Button
|
||||||
className="persona-profile-edit-save"
|
className="persona-profile-edit-save"
|
||||||
data-testid="user-profile-persona-edit-cancel"
|
data-testid="user-profile-persona-edit-cancel"
|
||||||
icon={
|
icon={<ClosePopoverIcon height={24} />}
|
||||||
<ClosePopoverIcon height={24} style={{ marginTop: '2px' }} />
|
|
||||||
}
|
|
||||||
size="small"
|
size="small"
|
||||||
type="primary"
|
type="primary"
|
||||||
onClick={handleCloseEditTeam}
|
onClick={handleCloseEditTeam}
|
||||||
@ -238,9 +236,7 @@ export const PersonaSelectableList = ({
|
|||||||
<Button
|
<Button
|
||||||
className="persona-profile-edit-cancel"
|
className="persona-profile-edit-cancel"
|
||||||
data-testid="user-profile-persona-edit-save"
|
data-testid="user-profile-persona-edit-save"
|
||||||
icon={
|
icon={<SavePopoverIcon height={24} />}
|
||||||
<SavePopoverIcon height={24} style={{ marginTop: '2px' }} />
|
|
||||||
}
|
|
||||||
loading={isSaving}
|
loading={isSaving}
|
||||||
size="small"
|
size="small"
|
||||||
type="primary"
|
type="primary"
|
||||||
|
@ -258,12 +258,7 @@ const UserProfileRoles = ({
|
|||||||
<Button
|
<Button
|
||||||
className="profile-edit-save"
|
className="profile-edit-save"
|
||||||
data-testid="user-profile-edit-roles-cancel-button"
|
data-testid="user-profile-edit-roles-cancel-button"
|
||||||
icon={
|
icon={<ClosePopoverIcon height={24} />}
|
||||||
<ClosePopoverIcon
|
|
||||||
height={24}
|
|
||||||
style={{ marginTop: '2px' }}
|
|
||||||
/>
|
|
||||||
}
|
|
||||||
size="small"
|
size="small"
|
||||||
style={{
|
style={{
|
||||||
width: '30px',
|
width: '30px',
|
||||||
@ -279,12 +274,7 @@ const UserProfileRoles = ({
|
|||||||
<Button
|
<Button
|
||||||
className="profile-edit-cancel"
|
className="profile-edit-cancel"
|
||||||
data-testid="user-profile-edit-roles-save-button"
|
data-testid="user-profile-edit-roles-save-button"
|
||||||
icon={
|
icon={<SavePopoverIcon height={24} />}
|
||||||
<SavePopoverIcon
|
|
||||||
height={24}
|
|
||||||
style={{ marginTop: '2px' }}
|
|
||||||
/>
|
|
||||||
}
|
|
||||||
loading={isLoading}
|
loading={isLoading}
|
||||||
size="small"
|
size="small"
|
||||||
style={{
|
style={{
|
||||||
|
@ -162,12 +162,7 @@ const UserProfileTeams = ({
|
|||||||
<Button
|
<Button
|
||||||
className="profile-edit-save"
|
className="profile-edit-save"
|
||||||
data-testid="teams-edit-close-btn"
|
data-testid="teams-edit-close-btn"
|
||||||
icon={
|
icon={<ClosePopoverIcon height={24} />}
|
||||||
<ClosePopoverIcon
|
|
||||||
height={24}
|
|
||||||
style={{ marginTop: '2px' }}
|
|
||||||
/>
|
|
||||||
}
|
|
||||||
size="small"
|
size="small"
|
||||||
style={{
|
style={{
|
||||||
width: '30px',
|
width: '30px',
|
||||||
@ -183,12 +178,7 @@ const UserProfileTeams = ({
|
|||||||
<Button
|
<Button
|
||||||
className="profile-edit-cancel"
|
className="profile-edit-cancel"
|
||||||
data-testid="teams-edit-save-btn"
|
data-testid="teams-edit-save-btn"
|
||||||
icon={
|
icon={<SavePopoverIcon height={24} />}
|
||||||
<SavePopoverIcon
|
|
||||||
height={24}
|
|
||||||
style={{ marginTop: '2px' }}
|
|
||||||
/>
|
|
||||||
}
|
|
||||||
loading={isLoading}
|
loading={isLoading}
|
||||||
size="small"
|
size="small"
|
||||||
style={{
|
style={{
|
||||||
|
@ -317,6 +317,9 @@
|
|||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: '#0950C5' !important;
|
background: '#0950C5' !important;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.profile-edit-save:hover,
|
.profile-edit-save:hover,
|
||||||
@ -339,6 +342,9 @@
|
|||||||
background: #0950c5;
|
background: #0950c5;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.persona-profile-edit-save.ant-btn-icon-only.ant-btn-sm {
|
.persona-profile-edit-save.ant-btn-icon-only.ant-btn-sm {
|
||||||
@ -348,6 +354,9 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 38px;
|
right: 38px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.max-tag-text {
|
.max-tag-text {
|
||||||
|
@ -256,7 +256,7 @@ const DomainSelectablTreeNew: FC<DomainSelectableTreeProps> = ({
|
|||||||
<Button
|
<Button
|
||||||
className="profile-edit-save"
|
className="profile-edit-save"
|
||||||
data-testid="user-profile-domain-edit-save"
|
data-testid="user-profile-domain-edit-save"
|
||||||
icon={<ClosePopoverIcon height={24} style={{ marginTop: '2px' }} />}
|
icon={<ClosePopoverIcon height={24} />}
|
||||||
size="small"
|
size="small"
|
||||||
style={{
|
style={{
|
||||||
width: '30px',
|
width: '30px',
|
||||||
@ -272,7 +272,7 @@ const DomainSelectablTreeNew: FC<DomainSelectableTreeProps> = ({
|
|||||||
<Button
|
<Button
|
||||||
className="profile-edit-cancel"
|
className="profile-edit-cancel"
|
||||||
data-testid="user-profile-domain-edit-cancel"
|
data-testid="user-profile-domain-edit-cancel"
|
||||||
icon={<SavePopoverIcon height={24} style={{ marginTop: '2px' }} />}
|
icon={<SavePopoverIcon height={24} />}
|
||||||
loading={isSubmitLoading}
|
loading={isSubmitLoading}
|
||||||
size="small"
|
size="small"
|
||||||
style={{
|
style={{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user