Skip to content

Commit f462295

Browse files
committed
small rtl style fixes
1 parent b62abe0 commit f462295

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

src/components/DatapackEntry.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import { computed } from 'vue';
4444
display: flex;
4545
align-items: center;
4646
position: relative;
47-
padding-right: 0.3rem;
47+
padding-inline-end: 0.3rem;
4848
gap: 0.3rem;
4949
}
5050
@@ -59,6 +59,10 @@ import { computed } from 'vue';
5959
user-select: none;
6060
}
6161
62+
.image:dir(rtl) {
63+
border-radius: 0 0.5rem 0.5rem 0;
64+
}
65+
6266
.description {
6367
flex-grow: 1;
6468
text-align: center;

src/components/TipMessage.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ a.github:hover {
7878
a img{
7979
height: 13px;
8080
width: 20px;
81-
padding-right: 0.3rem;
81+
padding-inline-end: 0.3rem;
8282
}
8383
8484
a svg {
8585
height: 16px;
8686
width: 20px;
87-
padding-right: 0.3rem;
87+
padding-inline-end: 0.3rem;
8888
margin-bottom: -0.1rem;
8989
}
9090

src/components/dropdown/OpenDropdown.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,11 +241,12 @@ const PRESET_DATAPACKS = computed(() => {
241241
242242
.title {
243243
color: rgb(53, 53, 53);
244-
text-align: left;
244+
text-align: initial;
245245
width: 100%;
246+
box-sizing: border-box;
246247
margin-top: 0;
247248
font-size: smaller;
248-
padding-left: 1rem;
249+
padding-inline-start: 1rem;
249250
margin-bottom: 0.2rem;
250251
}
251252

0 commit comments

Comments
 (0)