Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

line height removed from single liner input fields#1082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
FalkWolsky merged 1 commit intolowcoder-org:devfromMenamAfzal:remove/lineHeight
Aug 3, 2024
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -60,7 +60,7 @@ const getStyle = (style: InputLikeStyleType) => {
return css`
border-radius: ${style.radius};
border-width:${style.borderWidth} !important;
line-height: ${style.lineHeight} !important;
//line-height: ${style.lineHeight} !important;
// still use antd style when disabled
&:not(.ant-input-number-disabled) {
color: ${style.text};
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -252,7 +252,7 @@ export function getStyle(style: InputLikeStyleType, labelStyle?: LabelStyleType)
text-decoration:${style.textDecoration};
background-color: ${style.background};
border-color: ${style.border};
line-height: ${style.lineHeight};
//line-height: ${style.lineHeight};

&:focus,
&.ant-input-affix-wrapper-focused {
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -108,7 +108,7 @@ const Label = styled.span<{ $border: boolean, $labelStyle: LabelStyleType, $vali
border-radius:${(props) => props.$labelStyle.radius};
padding:${(props) => props.$labelStyle.padding};
margin:${(props) => props.$labelStyle.margin};
line-height:${(props) => props.$labelStyle.lineHeight};
//line-height:${(props) => props.$labelStyle.lineHeight};
width: fit-content;
user-select: text;
white-space: nowrap;
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1039,7 +1039,7 @@ export const InputLikeStyle = [
getStaticBackground(SURFACE_COLOR),
BOXSHADOW,
BOXSHADOWCOLOR,
...STYLING_FIELDS_SEQUENCE.filter(style=>style.name!=='rotation'),
...STYLING_FIELDS_SEQUENCE.filter((style)=>style.name!=='rotation' && style.name!=='lineHeight'),
...ACCENT_VALIDATE,
] as const;

Expand DownExpand Up@@ -1138,6 +1138,7 @@ export const startButtonStyle = [
export const LabelStyle = [
...replaceAndMergeMultipleStyles([...InputLikeStyle], "text", [LABEL]).filter(
(style) => style.name !== "radius" && style.name !== "background" && style.name!=='rotation' && style.name !== "boxShadow"&&style.name!=='boxShadowColor'
&&style.name!=='lineHeight'
),
];

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp