Skip to content

Commit

Permalink
chore: better styling alerts/reports modal (#24558)
Browse files Browse the repository at this point in the history
  • Loading branch information
betodealmeida authored Jun 30, 2023
1 parent be9eb0f commit aa6870b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 10 additions & 2 deletions superset-frontend/src/features/alerts/AlertReportModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,15 @@ export const StyledInputContainer = styled.div`
flex: 1;
margin-top: 0;
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type='number'] {
-moz-appearance: textfield;
}
.helper {
display: block;
color: ${({ theme }) => theme.colors.grayscale.base};
Expand Down Expand Up @@ -332,8 +341,7 @@ const StyledRadioGroup = styled(Radio.Group)`
`;

const StyledCheckbox = styled(AntdCheckbox)`
margin-left: ${({ theme }) => theme.gridUnit * 5.5}px;
margin-top: ${({ theme }) => theme.gridUnit}px;
margin-top: ${({ theme }) => theme.gridUnit * 2}px;
`;

// Notification Method components
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
"""update_tag_model_w_description
Revision ID: 240d23c7f86f
Revises: 6fbe660cac39
Revises: 8e5b0fb85b9a
Create Date: 2023-06-29 18:38:30.033529
"""

# revision identifiers, used by Alembic.
revision = "240d23c7f86f"
down_revision = "6fbe660cac39"
down_revision = "8e5b0fb85b9a"

import sqlalchemy as sa
from alembic import op
Expand Down

0 comments on commit aa6870b

Please sign in to comment.