Skip to content

Commit

Permalink
use shared style for character count
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcphers committed Aug 12, 2019
1 parent 8a98d4b commit cef7a94
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
Expand Up @@ -152,13 +152,4 @@

.ignoreWhitespace label {
margin-left: 4px;
}

.charCountPanel {
position: absolute;
left: -10000px;
top: auto;
width: 1px;
height: 1px;
overflow: hidden;
}
Expand Up @@ -117,8 +117,6 @@ interface Styles extends SharedStyles

String splitPanelCommit();
String ignoreWhitespace();

String charCountPanel();
}

@SuppressWarnings("unused")
Expand Down
Expand Up @@ -5,6 +5,7 @@
xmlns:rs_widget='urn:import:org.rstudio.core.client.widget'>

<ui:with field="res" type="org.rstudio.studio.client.workbench.views.vcs.git.dialog.GitReviewPanel.Resources"/>
<ui:with field="themeRes" type="org.rstudio.core.client.theme.res.ThemeResources"/>

<g:SplitLayoutPanel ui:field="splitPanel_" styleName="{res.styles.splitPanel}">
<g:north size="230">
Expand All @@ -26,7 +27,7 @@
<g:cell horizontalAlignment="ALIGN_RIGHT">
<g:HTMLPanel>
<g:Label ui:field="lblCharCount_"/>
<g:HTMLPanel ui:field="panelCharCount_" styleName="{res.styles.charCountPanel}">
<g:HTMLPanel ui:field="panelCharCount_" styleName="{themeRes.themeStyles.visuallyHidden}">
<g:Label ui:field="lblReaderCharCount_"/>
</g:HTMLPanel>
</g:HTMLPanel>
Expand Down

0 comments on commit cef7a94

Please sign in to comment.