Skip to content

Commit

Permalink
Merge pull request #14 from OpenPecha/feat/text-direction&alignment
Browse files Browse the repository at this point in the history
Feat/text direction&alignment
  • Loading branch information
Lungsangg authored Jan 30, 2024
2 parents 21fbc16 + af4f808 commit 786647a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions static/css/s2.css
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,7 @@ div.interfaceLinks-row a {
direction: ltr;
}
.readerPanel.hebrew .followsContentLang {
direction: rtl;
direction: ltr;
}
.navSidebar {
width: 420px;
Expand Down Expand Up @@ -3490,7 +3490,7 @@ display: none;
.hebrew .textTableOfContents,
.english .noLangToggleInHebrew .textTableOfContents,
.bilingual .noLangToggleInHebrew .textTableOfContents{
text-align: right;
text-align: left;
}
.english .noLangToggleInHebrew .textTableOfContents,
.bilingual .noLangToggleInHebrew .textTableOfContents{
Expand Down Expand Up @@ -5166,7 +5166,7 @@ body .ui-autocomplete.dictionary-toc-autocomplete .ui-menu-item a.ui-state-focus
.interface-english .readerPanel.hebrew .textTableOfContents,
.interface-english .readerPanel.hebrew .connectionsPanel .toolsButton.more,
.interface-english .readerPanel.hebrew .connectionsPanel .toolsButton.seeLess {
direction: rtl;
direction: ltr;
}
.basetext .text, .sheetContent .text {
padding: 0 44px;
Expand Down Expand Up @@ -9081,15 +9081,15 @@ body #keyboardInputMaster tbody tr td table tbody tr td.pressed{
color: #666;
}
.interface-hebrew #footer{
direction: rtl;
text-align: right;
direction: ltr;
text-align: left;
}
.interface-english #footer .int-he {
display: none;
}
.interface-hebrew #footer .int-he {
display: inline;
text-align: right;
text-align: left;
}
#footerInner {
max-width: 1000px;
Expand All @@ -9105,7 +9105,7 @@ body #keyboardInputMaster tbody tr td table tbody tr td.pressed{
text-align: left;
}
.interface-hebrew #footer .section {
text-align: right;
text-align: left;
}
#footer .section .header {
color: #000;
Expand Down
8 changes: 4 additions & 4 deletions static/css/sheets.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ body:not(.user-is-tabbing) #sheet .cke_editable:focus {
display: none;
}
.interface-hebrew #sheetsContent, .interface-hebrew #sheetsContent .sheetsEditNavTop, .interface-hebrew #fileControls{
direction: rtl;
direction: ltr;
}
.he, .int-he {
font-size: 100%;
Expand Down Expand Up @@ -931,7 +931,7 @@ body:not(.user-is-tabbing) #sheet .cke_editable:focus {
margin-top: 20px;
}
.interface-hebrew #empty #howItWorks{
text-align: right;
text-align: left;
}
#empty h1 {
font-size: 32px;
Expand Down Expand Up @@ -1529,7 +1529,7 @@ body.hasBannerMessage .sheetsEditNavTop {
display:flex;
}
.interface-hebrew #addInterface .buttonBar{
direction: rtl;
direction: ltr;
}

.contentDiv > div {
Expand Down Expand Up @@ -1669,7 +1669,7 @@ body.hasBannerMessage .sheetsEditNavTop {
width:100%;
}
.interface-hebrew .blockContainer{
direction: rtl;
direction: ltr;
}
#customTextContainer{
margin-bottom: 40px;
Expand Down

0 comments on commit 786647a

Please sign in to comment.