?
avatar tranduyhung
tranduyhung
5 Mar 2015

Hi,

Could anyone give me any reason why we need to set the width of modal to 80% in 3.4's Protostar template?

I couldn't find a commit for this in the commit history. Maybe I missed it while browsing the commits.

Now the modal takes 80% width of the screen, so wide.

home_-_2015-03-05_14 17 40

https://github.com/joomla/joomla-cms/blob/staging/templates/protostar/css/template.css#L6162

div.modal {
    position: fixed;
    top: 5%;
    left: 50%;
    z-index: 1050;
    width: 80%;
    margin-left: -40%;
    background-color: #fff;
    border: 1px solid #999;
    border: 1px solid rgba(0,0,0,0.3);
    *border: 1px solid #999;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 7px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 3px 7px rgba(0,0,0,0.3);
    box-shadow: 0 3px 7px rgba(0,0,0,0.3);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    outline: none;
}
avatar tranduyhung tranduyhung - open - 5 Mar 2015
avatar joomla-cms-bot joomla-cms-bot - change - 5 Mar 2015
Labels Added: ?
avatar dgt41
dgt41 - comment - 5 Mar 2015

Try #4575

avatar brianteeman brianteeman - change - 5 Mar 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-03-05 22:58:50
Closed_By brianteeman
avatar brianteeman
brianteeman - comment - 5 Mar 2015

Closing as the question has been answered


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6315.
avatar brianteeman brianteeman - change - 5 Mar 2015
Closed_Date 2015-03-05 22:58:50 2015-03-05 22:58:51
avatar brianteeman brianteeman - close - 5 Mar 2015

Add a Comment

Login with GitHub to post a comment