Skip to content

Commit 0794ede

Browse files
authored
Merge pull request oxen-io#2599 from yougotwill/theming_hotfixes
Theming hotfixes
2 parents f2e8fbd + 2bca956 commit 0794ede

21 files changed

+47
-101
lines changed

stylesheets/_emoji.scss

Lines changed: 0 additions & 76 deletions
This file was deleted.

stylesheets/_global.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ html {
66
height: 100%;
77
// Default theme is Classic Dark
88
background-color: #1b1b1b;
9+
font-size: 14px;
910
}
1011

1112
body {
@@ -14,7 +15,6 @@ body {
1415
width: 100%;
1516
margin: 0;
1617
font-family: $session-font-default;
17-
font-size: 14px;
1818
letter-spacing: 0.3px;
1919
}
2020

@@ -102,7 +102,7 @@ a {
102102
.message {
103103
-webkit-user-select: text;
104104
user-select: text;
105-
max-width: 35em;
105+
max-width: 35rem;
106106
}
107107

108108
.dot {

stylesheets/_index.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
.module-avatar {
3333
display: block;
34-
margin-bottom: 1em;
34+
margin-bottom: 1rem;
3535
}
3636

3737
.avatar-center {
@@ -52,7 +52,7 @@
5252
.section-conversations-container {
5353
display: flex;
5454
flex-direction: row;
55-
margin-inline-end: 3em;
55+
margin-inline-end: 3rem;
5656
align-items: center;
5757

5858
h4 {

stylesheets/_modal.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
position: relative;
1414
max-width: 350px;
1515
margin: 100px auto;
16-
padding: 1em;
16+
padding: 1rem;
1717
background-color: var(--modal-background-content-color);
1818
border-radius: var(--border-radius);
1919
overflow: auto;
@@ -23,7 +23,7 @@
2323

2424
/* remove scroll bars */
2525
.loki-dialog .add-moderators-dialog .content {
26-
padding: 1.1em;
26+
padding: 1.1rem;
2727
}
2828

2929
.session-modal {

stylesheets/_modules.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@
420420

421421
.session-button {
422422
width: 160px;
423-
margin: 1em auto;
423+
margin: 1rem auto;
424424
}
425425
}
426426

@@ -957,7 +957,7 @@
957957
font-size: 14px;
958958

959959
overflow: hidden;
960-
height: 2.4em;
960+
height: 2.4rem;
961961
display: -webkit-box;
962962
-webkit-line-clamp: 2;
963963
-webkit-box-orient: vertical;

stylesheets/_session_signin.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
font-size: 14px;
7070
font-weight: 700;
7171
line-height: 14px;
72-
padding-top: 2em;
72+
padding-top: 2rem;
7373
text-align: center;
7474
}
7575

stylesheets/manifest.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// Components
1616
@import 'modal';
1717
@import 'lightbox';
18-
@import 'emoji';
1918
@import 'mentions';
2019
@import 'avatar';
2120

ts/components/AboutView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const StyledContent = styled.div`
1515
1616
img {
1717
padding: 12px;
18-
margin-top: 1em;
18+
margin-top: 1rem;
1919
}
2020
2121
a {

ts/components/DebugLogView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ const StyledContent = styled.div`
1717
height: 100%;
1818
1919
.session-button {
20-
margin: 1em auto 1em 0;
21-
padding: 1em;
20+
margin: 1rem auto 1rem 0;
21+
padding: 1rem;
2222
width: fit-content;
2323
}
2424

ts/components/basic/YourSessionIDPill.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import { UserUtils } from '../../session/utils';
44

55
const StyledPillDividerLine = styled.div`
66
border-bottom: 1px solid var(--border-color);
7-
line-height: 0.1em;
7+
line-height: 0.1rem;
88
flex-grow: 1;
99
height: 1px;
1010
align-self: center;
1111
`;
1212

1313
const StyledPillSpan = styled.span`
14-
padding: 5px 15px;
14+
padding: 6px 15px 5px;
1515
border-radius: 50px;
1616
color: var(--text-primary-color);
1717
border: 1px solid var(--border-color);

0 commit comments

Comments
 (0)