replace locale-specific code with align-items:center

This commit is contained in:
Ramon Souza 2021-05-19 16:29:01 -03:00
parent d061294f74
commit 02057c7057
7 changed files with 7 additions and 21 deletions

View File

@ -17,10 +17,6 @@
-webkit-tap-highlight-color: transparent;
}
[lang="te"] .react-toggle, [lang="te-IN"] .react-toggle{
margin-top: .5rem;
}
.react-toggle-screenreader-only {
border: 0;
clip: rect(0 0 0 0);

View File

@ -137,6 +137,7 @@
display: flex;
justify-content: flex-end;
flex-flow: row;
align-items: center;
}
.verticalLine {

View File

@ -59,6 +59,7 @@
.item {
display: flex;
flex: 1 1 100%;
align-items: center;
.verticalList & {
padding: calc(var(--line-height-computed) / 3) 0;
@ -141,14 +142,6 @@
}
}
[lang="te"] .iconRight, [lang="te-IN"] .iconRight, [lang="te"] .itemIcon, [lang="te-IN"] .itemIcon{
margin-top: .65rem;
}
[lang="km"] .iconRight, [lang="km-KH"] .iconRight, [lang="km"] .itemIcon, [lang="km-KH"] .itemIcon{
margin-top: .35rem;
}
.iconRight {
margin-right: 0;
margin-left: 1rem;

View File

@ -93,6 +93,7 @@
display: flex;
justify-content: flex-end;
flex-flow: row;
align-items: center;
}
.bold {

View File

@ -138,7 +138,7 @@ class RecordingIndicator extends PureComponent {
};
const recordingIndicatorIcon = (
<span data-test="mainWhiteboard" className={cx(styles.recordingIndicatorIcon, (!isPhone || recording) && styles.presentationTitleMargin, (!isPhone && !recording && amIModerator) && styles.iconMargin)}>
<span data-test="mainWhiteboard" className={cx(styles.recordingIndicatorIcon, (!isPhone || recording) && styles.presentationTitleMargin)}>
<svg xmlns="http://www.w3.org/2000/svg" height="100%" version="1" viewBox="0 0 20 20">
<g stroke="#FFF" fill="#FFF" strokeLinecap="square">
<circle

View File

@ -12,6 +12,7 @@
%recordingControl {
display: flex;
border-radius: 2em 2em;
align-items: center;
span {
border: none;
@ -91,14 +92,6 @@
}
}
[lang="te"] .iconMargin, [lang="te-IN"] .iconMargin {
margin-top: .65rem;
}
[lang="km"] .iconMargin, [lang="km-KH"] .iconMargin {
margin-top: .35rem;
}
.recordingStatusViewOnly {
display: flex;
}

View File

@ -94,12 +94,14 @@
display: flex;
justify-content: flex-end;
flex-flow: row;
align-items: center;
}
.pullContentCenter {
display: flex;
justify-content: center;
flex-flow: row;
align-items: center;
}
.separator {