Skip to content

Commit d5fbc93

Browse files
committed
Placeholder added
1 parent c606d30 commit d5fbc93

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

astroid/astroid-framework/framework/layouts/fields/astroidmenuoptions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@
169169
<div class="row">
170170
<div ng-hide="<?php echo $id; ?>_megamenu" class="col-4">
171171
<label class="astroid-label" id="<?php echo $id; ?>_width-lbl" for="<?php echo $id; ?>_width"><?php echo JText::_('TPL_ASTROID_MENU_OPTIONS_WIDTH'); ?></label>
172-
<input type="text" autocomplete="off" name="<?php echo $name; ?>[width]" value="<?php echo $width; ?>" id="<?php echo $id; ?>_width" class="form-control" />
172+
<input type="text" autocomplete="off" name="<?php echo $name; ?>[width]" placeholder="280px" value="<?php echo $width; ?>" id="<?php echo $id; ?>_width" class="form-control" />
173173
</div>
174174
<div ng-show="<?php echo $id; ?>_megamenu" class="col-4">
175175
<label class="astroid-label" id="<?php echo $id; ?>_width-lbl" for="<?php echo $id; ?>_width"><?php echo JText::_('TPL_ASTROID_MENU_OPTIONS_MEGAMENU_WIDTH'); ?></label>
176-
<input type="text" autocomplete="off" name="<?php echo $name; ?>[megamenu_width]" value="<?php echo $megamenu_width; ?>" id="<?php echo $id; ?>_width" class="form-control" />
176+
<input type="text" autocomplete="off" name="<?php echo $name; ?>[megamenu_width]" placeholder="980px" value="<?php echo $megamenu_width; ?>" id="<?php echo $id; ?>_width" class="form-control" />
177177
</div>
178178
<div ng-hide="<?php echo $id; ?>_megamenu" class="col-8">
179179
<label class="astroid-label" id="<?php echo $id; ?>_alignment-lbl" for="<?php echo $id; ?>_alignment"><?php echo JText::_('TPL_ASTROID_MENU_OPTIONS_DROPDOWN_ALIGNMENT'); ?></label>

astroid/astroid-template-zero/scss/astroid/_menu.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
> a{
4848
text-decoration: none;
4949
display: block;
50-
padding: 10px 15px;
50+
padding: 5px 15px;
5151
&.item-link-heading,item-link-separator{
5252
&.item-level-2{
5353
text-transform: uppercase;

0 commit comments

Comments
 (0)