1
に合わせてフォントサイズをサイズ変更するテキストMD-ボタンは、ボタンの大きさに私は含まれてい<code>md-button</code>使用してい
私は、低解像度でテキストがカットされていると私は修正するための適切な解決策を見つけることができないときに問題がありますそれを行う方法をお勧めしたい場合は
です。
私は、高および低解像度+ CSSやHTML
<md-dialog id="new_test_draft_dialog" flex=40 flex-md=50 flex-sm=60 flex-xs=80>
<div>
<div layout-padding>
<h2>Save Changes?</h2>
<div style="padding:5px;" layout-padding>
<div layout="row" layout-align="center center">
<md-button ng-click="draftDialogService.cancel()" class="button_type_1 active">Continue</md-button>
<md-button ng-click="draftDialogService.hide()" class="button_type_1 active">Discard</md-button>
<md-button ng-click="draftDialogService.hide(saveDraft())" class="button_type_1 active">Save draft</md-button>
</div>
</div>
</div>
</div>
</md-dialog>
でCSSをスクリーンショットを添付:
/* Buttons */
.button_type.md-button,
.button_type,
.button_type_1 {
border: 3px solid #fff;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
padding: 5px 5px;
color: #fff;
display: inline-block;
text-decoration: none;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
word-wrap: break-word;
}
おかげで私はあなたのソリューションをチェックアウトしたが、それは本当に、ボタン上のテキストはまだ...カットされ –
@LiadLivnatを何も変更しませんでしたか?あなたの質問に「低解像度」と言うときは、小さな画面サイズを意味しますか?私の例では、ボタンは小さな画面サイズで大丈夫です。 –
私はページが反応しやすいので、低解像度は1175であり、私はコードを更新しました。おそらくそれはモーダルの内部にあるので影響しないでしょうか? –